summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMarek Vavruša <marek.vavrusa@nic.cz>2015-06-07 23:51:42 +0200
committerMarek Vavruša <marek.vavrusa@nic.cz>2015-06-07 23:51:42 +0200
commit10ea574ae4faa794adf4b4a6f04c0782aa7ef5ff (patch)
treef6271284fd0695905152363f4124e69b5bcbff20 /config.mk
parentdaemon/worker: keep freelist of mempools for recycling (diff)
downloadknot-resolver-10ea574ae4faa794adf4b4a6f04c0782aa7ef5ff.tar.xz
knot-resolver-10ea574ae4faa794adf4b4a6f04c0782aa7ef5ff.zip
build: brought back PIC for modules
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 0a843b5a..8eded332 100644
--- a/config.mk
+++ b/config.mk
@@ -12,7 +12,7 @@ MODULEDIR := $(LIBDIR)/kdns_modules
# Tools
CC ?= cc
-CFLAGS += -std=c99 -D_GNU_SOURCE -Wall -I$(abspath .) -I$(abspath lib/generic) -I$(abspath contrib)
+CFLAGS += -std=c99 -D_GNU_SOURCE -fPIC -Wall -I$(abspath .) -I$(abspath lib/generic) -I$(abspath contrib)
CFLAGS += -DPACKAGE_VERSION="\"$(MAJOR).$(MINOR)\"" -DPREFIX="\"$(PREFIX)\"" -DMODULEDIR="\"$(MODULEDIR)\""
RM := rm -f
LN := ln -s