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


  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         amd64/src/lib/libast/conftab.o \
  34         amd64/src/lib/libast/lctab.o
  35 OBJDIRS = \
  36         amd64/src/lib/libast
  37 
  38 include ../Makefile.com
  39 include ../../Makefile.lib.64
  40 
  41 # Use -KPIC since libast is too big for -Kpic on 64bit
  42 # (and on 32bit it is close to the barrier)
  43 amd64_C_PICFLAGS = $(C_BIGPICFLAGS)
  44 
  45 install: all $(ROOTLIBS64) $(ROOTLINKS64)


  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         amd64/src/lib/libast/conftab.o \
  34         amd64/src/lib/libast/lctab.o
  35 OBJDIRS = \
  36         amd64/src/lib/libast
  37 
  38 include ../Makefile.com
  39 include ../../Makefile.lib.64
  40 
  41 # Use big PIC since libast is too big for pic on 64bit
  42 # (and on 32bit it is close to the barrier)
  43 amd64_C_PICFLAGS = $(C_BIGPICFLAGS)
  44 
  45 install: all $(ROOTLIBS64) $(ROOTLINKS64)