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


  22 #
  23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  24 #
  25 
  26 TRG_PLATFORM =  sun4u-us3
  27 GEN_PLATFORM =  sun4u
  28 
  29 include         ../../Makefile.com
  30 
  31 OBJECTS =       memcpy.o memset.o memcmp.o
  32 
  33 include         $(SRC)/lib/Makefile.lib
  34 
  35 IFLAGS =        -I$(SRC)/uts/$(GEN_PLATFORM) \
  36                 -I$(ROOT)/usr/platform/$(GEN_PLATFORM)/include
  37 
  38 MAPFILE-CAP +=  ../../$(TRG_PLATFORM)/common/mapfile-cap
  39 
  40 AS_CPPFLAGS +=  -D__STDC__ -D_ASM -DPIC -D_REENTRANT -D$(MACH) $(IFLAGS) \
  41                 -DBSTORE_SIZE=65536 -DPANTHER_ONLY
  42 ASFLAGS =       -P -K pic


  22 #
  23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  24 #
  25 
  26 TRG_PLATFORM =  sun4u-us3
  27 GEN_PLATFORM =  sun4u
  28 
  29 include         ../../Makefile.com
  30 
  31 OBJECTS =       memcpy.o memset.o memcmp.o
  32 
  33 include         $(SRC)/lib/Makefile.lib
  34 
  35 IFLAGS =        -I$(SRC)/uts/$(GEN_PLATFORM) \
  36                 -I$(ROOT)/usr/platform/$(GEN_PLATFORM)/include
  37 
  38 MAPFILE-CAP +=  ../../$(TRG_PLATFORM)/common/mapfile-cap
  39 
  40 AS_CPPFLAGS +=  -D__STDC__ -D_ASM -DPIC -D_REENTRANT -D$(MACH) $(IFLAGS) \
  41                 -DBSTORE_SIZE=65536 -DPANTHER_ONLY
  42 ASFLAGS =       -P $(AS_PICFLAGS)