Use -std=c99.
[libfirm] / Makefile
index 4436a66..3a55e12 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ AR ?= ar
 DLLEXT ?= .so
 
 # Variants
-CFLAGS_all        = -fPIC -DHAVE_FIRM_REVISION_H
+CFLAGS_all        = -std=c99 -fPIC -DHAVE_FIRM_REVISION_H
 CFLAGS_debug      = $(CFLAGS_all) -O0 -g3 -DDEBUG_libfirm
 CFLAGS_profile    = $(CFLAGS_all) -O3 -pg -DNDEBUG -fno-inline
 LINKFLAGS_profile = -pg