Index: tests/includability/nacl.scons |
diff --git a/tests/includability/nacl.scons b/tests/includability/nacl.scons |
index 44f5838e3e7b45bd7c0a8af330e37b1060c2d64e..3c1fa77c26a84c8b95655a28607c2cbd7304222f 100644 |
--- a/tests/includability/nacl.scons |
+++ b/tests/includability/nacl.scons |
@@ -8,4 +8,10 @@ Import('env') |
# Check that headers are #includable without native_client/ being in |
# the #include search path. |
env.FilterOut(CPPPATH='${SOURCE_ROOT}') |
+ |
+# Remove the forced inclusion of build_config.h, which requires native_client/ |
+# to be in the search path. |
+env.FilterOut(CCFLAGS=[ |
+ '-include', '$SOURCE_ROOT/native_client/src/include/build_config.h']) |
+ |
env.ComponentProgram('includability_test', 'use_irt.c') |