summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-03-25 12:16:03 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-03-25 12:16:03 +0000
commita09d8e88fc0f5541259c756db979eeb3ab05f7db (patch)
tree91a56dae1f6afcce4c392aca5029927b5825938e
parentb5fda7ad2a3a45e9a4d54d929b03a6b28bf67c37 (diff)
Use -std=gnu99 not c99 with GCC.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 19220d8e..2ce54b1a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,7 +24,7 @@ endif
# Set flags for gcc. gcc4 whines abouts silly stuff so it needs slightly
# different flags.
if IS_GCC
-CFLAGS += -std=c99
+CFLAGS += -std=gnu99
if IS_DEBUG
CFLAGS += -O0 -g
CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2