Print this page
9884 cw(1) should use -fpic rather than -Kpic


  20 #
  21 
  22 #
  23 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 
  27 # Platform-specific config
  28 # Note that "HOSTTYPE" matches the value used by AT&T upstream.
  29 ASTPLATFORMCPPFLAGS = '-DHOSTTYPE="sol$(RELEASE_MINOR).i386"'
  30 
  31 # platform-specific sources
  32 OBJECTS = \
  33         i386/src/lib/libast/conftab.o \
  34         i386/src/lib/libast/lctab.o
  35 OBJDIRS = \
  36         i386/src/lib/libast
  37 
  38 include ../Makefile.com
  39 
  40 # Use -KPIC since libast is too big for -Kpic on 64bit
  41 # (and on 32bit it is close to the barrier)
  42 i386_C_PICFLAGS  = $(C_BIGPICFLAGS)
  43 
  44 install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)


  20 #
  21 
  22 #
  23 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 
  27 # Platform-specific config
  28 # Note that "HOSTTYPE" matches the value used by AT&T upstream.
  29 ASTPLATFORMCPPFLAGS = '-DHOSTTYPE="sol$(RELEASE_MINOR).i386"'
  30 
  31 # platform-specific sources
  32 OBJECTS = \
  33         i386/src/lib/libast/conftab.o \
  34         i386/src/lib/libast/lctab.o
  35 OBJDIRS = \
  36         i386/src/lib/libast
  37 
  38 include ../Makefile.com
  39 
  40 # Use big PIC since libast is too big for pic on 64bit
  41 # (and on 32bit it is close to the barrier)
  42 i386_C_PICFLAGS  = $(C_BIGPICFLAGS)
  43 
  44 install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)