about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-05-28 22:23:30 +0200
committerhexcoder- <heiko@hexco.de>2020-05-28 22:23:30 +0200
commitbfd2b6298ea9309a14af5017e74e6f66c7ba49bc (patch)
tree10756e2933aa8db068938ca43e8eb1e6734038b8
parent48b2028af84f34dc825613aa56c098c6479c404a (diff)
downloadafl++-bfd2b6298ea9309a14af5017e74e6f66c7ba49bc.tar.gz
OpenBSD6.7, 32bit fix add linker option -z notext
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 7d9e6d83..44068b19 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -91,7 +91,7 @@ override CFLAGS += -Wall -g -Wno-pointer-sign -Wmissing-declarations\
 
 ifeq "$(shell uname -s)" "OpenBSD"
   override CFLAGS  += -I /usr/local/include/
-  LDFLAGS += -L /usr/local/lib/
+  LDFLAGS += -Wl,-z,notext -L /usr/local/lib/
 endif
 
 ifeq "$(shell uname -s)" "NetBSD"