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


  21 
  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         sparc/src/lib/libast/conftab.o \
  35         sparc/src/lib/libast/lctab.o
  36 OBJDIRS = \
  37         sparc/src/lib/libast
  38 
  39 include ../Makefile.com
  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 sparc_C_PICFLAGS = $(C_BIGPICFLAGS)
  44 
  45 install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)