summaryrefslogtreecommitdiffstats
path: root/gnu/lib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2005-05-01 01:59:48 +0000
committerpeter <peter@FreeBSD.org>2005-05-01 01:59:48 +0000
commitbc1c95b7c5fa1322a479907a1106508dda50a87e (patch)
treefd8919501dac27b5814fbe74c9e0f258331b76bc /gnu/lib
parentff4a7a72e9f24450ef251d36f8481418aa5d023c (diff)
downloadFreeBSD-src-bc1c95b7c5fa1322a479907a1106508dda50a87e.zip
FreeBSD-src-bc1c95b7c5fa1322a479907a1106508dda50a87e.tar.gz
Turn on libobjc.so for all platforms on -current. It didn't work back
in 1996.
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/libobjc/Makefile14
1 files changed, 2 insertions, 12 deletions
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
OpenPOWER on IntegriCloud