summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bee264c..85b47a9 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,8 @@ PREFIX ?= /usr/local
MANPREFIX ?= $(PREFIX)/share/man
# compiler flags
-CPPFLAGS := -DVERSION=\"$(VERSION)\" $(CPPFLAGS)
-CFLAGS := -std=c99 -g -pedantic -Wall -Wextra $(CFLAGS)
+CPPFLAGS := -DVERSION=\"$(VERSION)\" -D_GNU_SOURCE $(CPPFLAGS)
+CFLAGS := -std=c11 -g -pedantic -Wall -Wextra -Wno-missing-field-initializers $(CFLAGS)
LDLIBS = -lalpm
DISTFILES = expac.c README.pod