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

@@ -66,11 +66,11 @@
 
 # Add any machine specific flags.
 
 CPPFLAGS +=     -I../../../../uts/sparc/krtld
 CFLAGS +=       -xregs=no%appl
-ASFLAGS +=      -s -K pic -D__sparcv9 -D_ELF64 $(sparcv9_XARCH)
+ASFLAGS +=      -s $(AS_PICFLAGS) -D__sparcv9 -D_ELF64 $(sparcv9_XARCH)
 ADBGENFLAGS +=  -mlp64
 ADBGENCFLAGS += -erroff=%all
 ADBSUB=         $(ADBSUB64)
 CPPFLAGS +=     -D_ELF64
 LINTFLAGS64 +=  $(VAR_LINTFLAGS64)