From bc1c95b7c5fa1322a479907a1106508dda50a87e Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 1 May 2005 01:59:48 +0000 Subject: Turn on libobjc.so for all platforms on -current. It didn't work back in 1996. --- gnu/lib/libobjc/Makefile | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'gnu') diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile index b90b872..52f0d2c 100644 --- a/gnu/lib/libobjc/Makefile +++ b/gnu/lib/libobjc/Makefile @@ -5,14 +5,9 @@ GCCDIR= ${.CURDIR}/../../../contrib/gcc .PATH: ${OBJCDIR}/objc ${OBJCDIR} -LIB= objc +LIB= objc +SHLIB_MAJOR= 1 NO_MAN= -.if ${MACHINE_ARCH} == "amd64" -SHLIB_MAJOR= 1 -.else -# XXX is this still correct? -NO_PIC= # works but method lookup slowdown is significant -.endif SRCS= archive.c class.c encoding.c gc.c hash.c init.c misc.c \ nil_method.c objects.c sarray.c selector.c sendmsg.c \ @@ -23,11 +18,6 @@ INCS= encoding.h hash.h objc-api.h objc-list.h objc.h runtime.h \ sarray.h thr.h typedstream.h NXConstStr.h Object.h Protocol.h INCSDIR=${INCLUDEDIR}/objc -# PR ia64/49081 -.if ${MACHINE_ARCH} == "ia64" -CFLAGS+= -fpic -.endif - OBJCFLAGS= -fgnu-runtime ${CFLAGS} CFLAGS+= -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS CFLAGS+= -I. -I${.CURDIR}/../../usr.bin/cc/cc_tools -- cgit v1.1