summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-12-09 14:58:02 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-12-09 14:58:02 +0100
commit4ac1d2807cccef60f9874a43f55863ad9000666d (patch)
tree4b873a9ac3c75d12ae6c8366e7d3395212e10fda /Makefile
parentec0b6b546620b1ea15b48d83e1ee8d9553b4ce94 (diff)
downloadcqrlogo-4ac1d2807cccef60f9874a43f55863ad9000666d.tar.gz
cqrlogo-4ac1d2807cccef60f9874a43f55863ad9000666d.tar.zst
enable pisition independent code / executable by default
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a80d280..2e682fc 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ SED := sed
PNGCHK := pngcheck
ZBARIMG := zbarimg
# flags
-CFLAGS += -std=c11 -O2 -Wall -Werror
+CFLAGS += -std=c11 -O2 -fpic -pie -Wall -Werror
CFLAGSSTATIC = $(CFLAGS)
CFLAGSSTATIC += -liniparser
CFLAGSSTATIC += $(shell pkg-config --cflags --libs libpng)