aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-12-11 11:46:11 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-12-11 11:46:11 +0100
commitebcce373b196cd4ad44667a05c856ed0f4b472b5 (patch)
tree1128775575a9fabce139844ff6d965fef0930be7
parent6fa0d01a48da91fcb306f90e03aa57e2b5ee8453 (diff)
downloadmkinitcpio-ykfde-ebcce373b196cd4ad44667a05c856ed0f4b472b5.tar.gz
mkinitcpio-ykfde-ebcce373b196cd4ad44667a05c856ed0f4b472b5.tar.zst
build pisition independent executable
-rw-r--r--udev/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/Makefile b/udev/Makefile
index 4666b1d..b8ddc84 100644
--- a/udev/Makefile
+++ b/udev/Makefile
@@ -3,7 +3,7 @@ CC := gcc
INSTALL := install
RM := rm
# flags
-CFLAGS += -std=c11 -O2 -Wall -Werror
+CFLAGS += -std=c11 -O2 -fpic -pie -Wall -Werror
all: ykfde