summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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)