Switch to gnu99 syntax
authorRhett Aultman <roadriverrail@gmail.com>
Sun, 15 Jul 2012 08:08:51 +0000 (01:08 -0700)
committerRhett Aultman <roadriverrail@gmail.com>
Sun, 15 Jul 2012 08:08:51 +0000 (01:08 -0700)
GNUmakefile

index e0b1470c4d5e3ddc26416673ec3c9660c8e4b6b0..af51d0fccb2cfcb2a089beddbcb80df706cb30a8 100644 (file)
@@ -36,7 +36,7 @@ PERL  := perl
 # Compiler flags
 # -fno-builtin is required to avoid refs to undefined functions in the kernel.
 # Only optimize to -O1 to discourage inlining, which complicates backtraces.
-CFLAGS := $(CFLAGS) $(DEFS) $(LABDEFS) -O -fno-builtin -I$(TOP) -MD -Wall -Wno-format -Wno-unused -Werror -gstabs -fno-stack-protector
+CFLAGS := $(CFLAGS) $(DEFS) $(LABDEFS) -O -fno-builtin -I$(TOP) -MD -Wall -Wno-format -Wno-unused -Werror -gstabs -fno-stack-protector -std=gnu99
 
 # Lists that the */Makefrag makefile fragments will add to
 OBJDIRS :=