summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7ed552c..15828bb 100644
--- a/Makefile
+++ b/Makefile
@@ -45,10 +45,7 @@ CFLAGS?=-O3
45OT_CFLAGS+=-Wall -Wextra -Wwrite-strings -pipe -pthread 45OT_CFLAGS+=-Wall -Wextra -Wwrite-strings -pipe -pthread
46 46
47HARDENING=-fstack-protector-strong -fPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 47HARDENING=-fstack-protector-strong -fPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
48HARDENING_LD=-pie 48HARDENING_LD!= case `uname -s` in Darwin) ;; *) printf %s "-pie -Wl,-z,relro,-z,now" ;; esac
49# Full RELRO on every linker that takes it, which is all but Apple's. See DESIGN.
50RELRO_LD!= case `uname -s` in Darwin) ;; *) printf %s -Wl,-z,relro,-z,now ;; esac
51HARDENING_LD+=$(RELRO_LD)
52OT_LDFLAGS+=-pthread 49OT_LDFLAGS+=-pthread
53 50
54OPTS_debug=-D_DEBUG -g -ggdb 51OPTS_debug=-D_DEBUG -g -ggdb