Skip to content

Commit 4c6ec5f

Browse files
committed
Fix GCC preprocessor environment variable
1 parent b5765d6 commit 4c6ec5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

robotpy_build/wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

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

0 commit comments

Comments
 (0)