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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86xpv/genassym/Makefile
          +++ new/usr/src/uts/i86xpv/genassym/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -# ident "%Z%%M% %I%     %E% SMI"
  27   26  #
  28   27  #       This makefile drives the production of assym.h through
  29   28  #       compile time intialized data.
  30   29  #
  31   30  #       i86xpv implementation architecture dependent
  32   31  #
  33   32  
  34   33  #
  35   34  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  36   35  #
↓ open down ↓ 39 lines elided ↑ open up ↑
  76   75  clobber:        $(CLOBBER_DEPS)
  77   76  
  78   77  clean.lint:
  79   78  
  80   79  install:        def
  81   80  
  82   81  #
  83   82  # Create assym.h
  84   83  #
  85   84  $(GENASSYM): $(GENASSYM_SRC)
  86      -        $(NATIVECC) $(ALWAYS_DEFS) $(GENASSYM_DEFS) $(NATIVE_INC_PATH) \
  87      -           -o $@ $(GENASSYM_SRC)
       85 +        $(NATIVECC) $(NATIVE_CFLAGS) $(ALWAYS_DEFS) $(GENASSYM_DEFS) \
       86 +            $(NATIVE_INC_PATH) -o $@ $(GENASSYM_SRC)
  88   87  
  89   88  $(ASSYM_H): $(OFFSETS_SRC) $(PLATFORM_OFFSETS_SRC) $(GENASSYM)
  90   89          $(OFFSETS_CREATE) <$(OFFSETS_SRC) >$@
  91   90          $(OFFSETS_CREATE) <$(PLATFORM_OFFSETS_SRC) >>$@
  92   91          $(GENASSYM) >>$@
  93   92  
  94   93  $(KDI_ASSYM_H): $(KDI_OFFSETS_SRC) $(GENASSYM)
  95   94          $(OFFSETS_CREATE) <$(KDI_OFFSETS_SRC) >$@
  96   95          $(GENASSYM) >>$@
  97   96  
  98   97  #
  99   98  #       Include common targets.
 100   99  #
 101  100  include $(UTSBASE)/i86xpv/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX