about summary refs log tree commit diff
path: root/GNUmakefile.llvm
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2023-08-05 14:21:56 +0100
committerDavid Carlier <devnexen@gmail.com>2023-08-05 14:21:56 +0100
commit5b55cf84c14cab3c37d659874c02332cbffb7242 (patch)
treeb92bd5572c3b928061932cbf584d6db86078cc89 /GNUmakefile.llvm
parent2ce511353036efe7bd0c068c90fe7cf0ae20f670 (diff)
downloadafl++-5b55cf84c14cab3c37d659874c02332cbffb7242.tar.gz
disable exceptions on LLVM/GCC plugins, decreasing further the libraries's binaries size in the process.
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 d8c47ccc..65786d8b 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) $(CPPFLAGS) -Wno-deprecated-declarations
+CLANG_CPPFL  = `$(LLVM_CONFIG) --cxxflags` -fno-rtti -fno-exceptions -fPIC $(CXXFLAGS) $(CPPFLAGS) -Wno-deprecated-declarations
 CLANG_LFL    = `$(LLVM_CONFIG) --ldflags` $(LDFLAGS)
 
 # wasm fuzzing: disable thread-local storage and unset LLVM debug flag