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


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


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