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