about summary refs log tree commit diff
path: root/GNUmakefile.gcc_plugin
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.gcc_plugin
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.gcc_plugin')
-rw-r--r--GNUmakefile.gcc_plugin2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile.gcc_plugin b/GNUmakefile.gcc_plugin
index a90b02ea..16c98399 100644
--- a/GNUmakefile.gcc_plugin
+++ b/GNUmakefile.gcc_plugin
@@ -61,7 +61,7 @@ ifeq "$(findstring Foundation,$(shell $(CC) --version))" ""
 endif
 
 PLUGIN_BASE = "$(shell $(CC) -print-file-name=plugin)"
-PLUGIN_FLAGS = -fPIC -fno-rtti -I$(PLUGIN_BASE)/include -I$(PLUGIN_BASE)
+PLUGIN_FLAGS = -fPIC -fno-rtti -fno-exceptions -I$(PLUGIN_BASE)/include -I$(PLUGIN_BASE)
 HASH=\#
 
 GCCVER    = $(shell $(CC) --version 2>/dev/null | awk 'NR == 1 {print $$NF}')