From 4c6ec5ff15ab6fcea03121e60f4a1654a8884a52 Mon Sep 17 00:00:00 2001 From: Dustin Spicuzza Date: Wed, 1 Nov 2023 01:11:06 -0400 Subject: [PATCH] Fix GCC preprocessor environment variable --- robotpy_build/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robotpy_build/wrapper.py b/robotpy_build/wrapper.py index 17ce17a..7ebce05 100644 --- a/robotpy_build/wrapper.py +++ b/robotpy_build/wrapper.py @@ -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)