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

Split Close
Expand all
Collapse all
          --- old/usr/src/grub/grub-0.97/Makefile.solaris.defs
          +++ new/usr/src/grub/grub-0.97/Makefile.solaris.defs
↓ open down ↓ 34 lines elided ↑ open up ↑
  35   35  # STAGE2_NETBOOT:
  36   36  #       Include netboot support in stage2 (on by default).
  37   37  #       This only affects stage2, not pxegrub (diskless support).
  38   38  #
  39   39  # STAGE2_NETBOOT        = $(POUND_SIGN)
  40   40  OPTION_UTILS    = $(POUND_SIGN)
  41   41  OPTION_DOCS     = $(POUND_SIGN)
  42   42  OPTION_FS       = $(POUND_SIGN)
  43   43  
  44   44  
  45      -BASE_CFLAGS     = -B$(GCC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS)
       45 +BASE_CFLAGS     = -B$(GCC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS) -std=gnu89
  46   46  BASE_CCASFLAGS  = -B$(GCC_ROOT)/bin/ -g $(CPPFLAGS) $(OPTFLAGS)
  47   47  BASE_LDFLAGS    =
  48   48  
  49   49  CC              = $(GCC_ROOT)/bin/gcc
  50   50  CFLAGS          = $(BASE_CFLAGS)
  51   51  CCDEPMODE       = depmode=none
  52   52  
  53   53  CCAS            = $(CC)
  54   54  CCASFLAGS       = $(BASE_CCASFLAGS)
  55   55  
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX