Print this page
6648 illumos build should be explicit about C standards

@@ -40,11 +40,11 @@
 OPTION_UTILS    = $(POUND_SIGN)
 OPTION_DOCS     = $(POUND_SIGN)
 OPTION_FS       = $(POUND_SIGN)
 
 
-BASE_CFLAGS     = -B$(GCC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS)
+BASE_CFLAGS     = -B$(GCC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS) -std=gnu89
 BASE_CCASFLAGS  = -B$(GCC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS)
 BASE_LDFLAGS    =
 
 CC              = $(GCC_ROOT)/bin/gcc
 CFLAGS          = $(BASE_CFLAGS)