aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 25faea9..a34dec1 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -3,7 +3,8 @@ CC := gcc
INSTALL := install
RM := rm
# flags
-CFLAGS += -std=gnu11 -O2 -fpic -pie -Wall -Werror
+CFLAGS += -std=gnu11 -O2 -fPIC -Wall -Werror
+LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie
all: ykfde ykfde-cpio