Print this page


Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/Makefile.libm.com
          +++ new/usr/src/lib/libm/Makefile.libm.com
↓ open down ↓ 35 lines elided ↑ open up ↑
  36   36  LDBLDIR_sparc   = Q
  37   37  LDBLDIR_i386    = LD
  38   38  LDBLDIR         = $(LDBLDIR_$(MACH))
  39   39  
  40   40  LM_IL           = $(LIBMDIR)/$(TARGET_ARCH)/src/locallibm.il
  41   41  
  42   42  CFLAGS          += $(C_PICFLAGS) -D__INLINE $(XSTRCONST) $(LM_IL)
  43   43  CFLAGS64        += $(C_PICFLAGS) -D__INLINE $(XSTRCONST) $(LM_IL)
  44   44  sparc_CFLAGS    += -Wa,-xarch=v8plus
  45   45  
  46      -CDEF_i386       = -DCOMPARISON_MACRO_BUG
  47   46  CPPFLAGS        += -DELFOBJ \
  48   47                  -DLIBM_MT_FEX_SYNC \
  49      -                $(CDEF_$(TARGET_ARCH)) \
  50   48                  -I$(LIBMSRC)/C \
  51   49                  -I$(LIBMSRC)/$(LDBLDIR) -I$(LIBMDIR)/$(TARGET_ARCH)/src
  52   50  
  53   51  # GCC needs __C99FEATURES__ such that the implementations of isunordered,
  54   52  # isgreaterequal, islessequal, etc, exist.  This is basically equivalent to
  55   53  # providing no -xc99 to Studio, in that it gets us the C99 language features,
  56   54  # but not values-xpg6, the reason for which is outline with C99MODE.
  57   55  CFLAGS          += -_gcc=-D__C99FEATURES__
  58   56  CFLAGS64        += -_gcc=-D__C99FEATURES__
  59   57  
↓ open down ↓ 36 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX