Print this page
9884 cw(1) should use -fpic rather than -Kpic
*** 66,76 ****
# Add any machine specific flags.
CPPFLAGS += -I../../../../uts/sparc/krtld
CFLAGS += -xregs=no%appl
! ASFLAGS += -s -K pic -D__sparcv9 -D_ELF64 $(sparcv9_XARCH)
ADBGENFLAGS += -mlp64
ADBGENCFLAGS += -erroff=%all
ADBSUB= $(ADBSUB64)
CPPFLAGS += -D_ELF64
LINTFLAGS64 += $(VAR_LINTFLAGS64)
--- 66,76 ----
# Add any machine specific flags.
CPPFLAGS += -I../../../../uts/sparc/krtld
CFLAGS += -xregs=no%appl
! ASFLAGS += -s $(AS_PICFLAGS) -D__sparcv9 -D_ELF64 $(sparcv9_XARCH)
ADBGENFLAGS += -mlp64
ADBGENCFLAGS += -erroff=%all
ADBSUB= $(ADBSUB64)
CPPFLAGS += -D_ELF64
LINTFLAGS64 += $(VAR_LINTFLAGS64)