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 542e84e..71027c8 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ SED := sed
PNGCHK := pngcheck
ZBARIMG := zbarimg
# flags
-CFLAGS += -O2 -Wall -Werror
+CFLAGS += -std=c11 -O2 -Wall -Werror
CFLAGSSTATIC = $(CFLAGS)
CFLAGSSTATIC += -liniparser
CFLAGSSTATIC += $(shell pkg-config --cflags --libs libpng)