Skip to content

Commit

Permalink
Enhance CFLAGS for better performance and standards compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
horta committed Sep 24, 2024
1 parent 1b4317a commit b68be02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h3result-py/build_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def build_and_install(root: Path, prefix: str, prj_dir: str, git_url: str):
args = [
f"C_INCLUDE_PATH={prefix}/include",
f"LIBRARY_PATH={prefix}/lib",
"CFLAGS='-fPIC'",
"CFLAGS='-std=c11 -O3 -fPIC'",
]
make(bld_dir, args)
make(bld_dir, ["install", f"PREFIX={prefix}"])
Expand Down

0 comments on commit b68be02

Please sign in to comment.