about summary refs log tree commit diff
path: root/GNUmakefile.llvm
diff options
context:
space:
mode:
authorJesse Schwartzentruber <truber@mozilla.com>2023-07-28 12:02:05 -0400
committerJesse Schwartzentruber <truber@mozilla.com>2023-07-31 11:50:33 -0400
commit82635dc6569d84899147b2487f19ebe3eaee92b2 (patch)
tree6874ae802a5df27c0ce3029feafa1525f3c0bfc8 /GNUmakefile.llvm
parentf75c4303654602442987b9a653e5ad3af4974b43 (diff)
downloadafl++-82635dc6569d84899147b2487f19ebe3eaee92b2.tar.gz
Use CPPFLAGS for C++ too.
Diffstat (limited to 'GNUmakefile.llvm')
-rw-r--r--GNUmakefile.llvm2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile.llvm b/GNUmakefile.llvm
index 75fb664b..d8c47ccc 100644
--- a/GNUmakefile.llvm
+++ b/GNUmakefile.llvm
@@ -300,7 +300,7 @@ endif
 ifneq "$(LLVM_CONFIG)" ""
   CLANG_CFL += -I$(shell dirname $(LLVM_CONFIG))/../include
 endif
-CLANG_CPPFL  = `$(LLVM_CONFIG) --cxxflags` -fno-rtti -fPIC $(CXXFLAGS) -Wno-deprecated-declarations
+CLANG_CPPFL  = `$(LLVM_CONFIG) --cxxflags` -fno-rtti -fPIC $(CXXFLAGS) $(CPPFLAGS) -Wno-deprecated-declarations
 CLANG_LFL    = `$(LLVM_CONFIG) --ldflags` $(LDFLAGS)
 
 # wasm fuzzing: disable thread-local storage and unset LLVM debug flag