Skip to content

Commit

Permalink
Fix GCC preprocessor environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Nov 1, 2023
1 parent b5765d6 commit 4c6ec5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robotpy_build/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

# TODO: eventually provide native preprocessor by default and allow it
# to be enabled/disabled per-file just in case
if os.getenv("RPYBUILD_PP_GCC") == 1:
if os.getenv("RPYBUILD_PP_GCC") == "1":
# GCC preprocessor can be 10x faster than pcpp for very complex files
def make_preprocessor(*args, **kwargs):
return preprocessor.make_gcc_preprocessor(print_cmd=False, *args, **kwargs)
Expand Down

0 comments on commit 4c6ec5f

Please sign in to comment.