summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-21 07:40:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-21 07:40:11 +0000
commit8a47023d3e74d50d4e4277f130c1be917f94db44 (patch)
tree0b9219c27ec97768fee9bb7aaa430b751f21d6cc /src
parent4c2bfd9dedab2533cbfc9c2bf4f827eb5f5f51a6 (diff)
downloadapk-tools-8a47023d3e74d50d4e4277f130c1be917f94db44.tar.gz
apk-tools-8a47023d3e74d50d4e4277f130c1be917f94db44.tar.bz2
apk-tools-8a47023d3e74d50d4e4277f130c1be917f94db44.tar.xz
apk-tools-8a47023d3e74d50d4e4277f130c1be917f94db44.zip
Makefile: add -nopie to LDFLAGS
Diffstat (limited to 'src')
-rw-r--r--src/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index a25eb84..b2737d2 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -9,6 +9,7 @@ CFLAGS_apk.o := -DAPK_VERSION=\"$(FULL_VERSION)\"
progs-$(STATIC) += apk.static
apk.static-objs := $(apk-objs)
LDFLAGS_apk.static := -static
+LDFLAGS_apk += -nopie
LIBS := /usr/lib/libz.a