Print this page
9884 cw(1) should use -fpic rather than -Kpic
*** 39,49 ****
# Preserve the relationship of libraries as they are defined in libc.so.1.9
LIBBC= ../../lib/libbc/sparc/libc.so.1.9
LIBUCB= ../../ucblib/libucb/sparc/libucb.so.1
# need libc/sparc/inc for PIC.h
! ASFLAGS= -P -D_ASM -DPIC -K pic
LDFLAGS= -R /usr/4lib:/usr/ucblib -e _start -G -t \
$(BLOCAL) $(ZNOVERSION) $(ZDEFS) $(ZTEXT) \
-I/usr/lib/ld.so.1
LIBS= $(LDLIBS.lib) -lmapmalloc $(LIBBC) $(LIBUCB) -lnsl -lc
--- 39,49 ----
# Preserve the relationship of libraries as they are defined in libc.so.1.9
LIBBC= ../../lib/libbc/sparc/libc.so.1.9
LIBUCB= ../../ucblib/libucb/sparc/libucb.so.1
# need libc/sparc/inc for PIC.h
! ASFLAGS= -P -D_ASM -DPIC $(AS_PICFLAGS)
LDFLAGS= -R /usr/4lib:/usr/ucblib -e _start -G -t \
$(BLOCAL) $(ZNOVERSION) $(ZDEFS) $(ZTEXT) \
-I/usr/lib/ld.so.1
LIBS= $(LDLIBS.lib) -lmapmalloc $(LIBBC) $(LIBUCB) -lnsl -lc