summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-09-29 23:42:44 +0000
committerpeter <peter@FreeBSD.org>2004-09-29 23:42:44 +0000
commit7995dfde81c67cbae58ca24649be9bb3872acd62 (patch)
tree7c35455c210a5abd987919d66e19148cde94867e /gnu
parenta831027f1e9f217822054966e93d9ffb070fb33a (diff)
downloadFreeBSD-src-7995dfde81c67cbae58ca24649be9bb3872acd62.zip
FreeBSD-src-7995dfde81c67cbae58ca24649be9bb3872acd62.tar.gz
We *need* the pic libobjc library for amd64. It is needed for ia64 as
well, but I'll let Marcel decide whether he wants to build a .so or not. Without this, building certain ports that use objc have fatal errors.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libobjc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile
index 213e904..2e5a3b6 100644
--- a/gnu/lib/libobjc/Makefile
+++ b/gnu/lib/libobjc/Makefile
@@ -7,7 +7,12 @@ GCCDIR= ${.CURDIR}/../../../contrib/gcc
LIB= objc
NOMAN= sorry
+.if ${MACHINE_ARCH} == "amd64"
+SHLIB_MAJOR= 1
+.else
+# XXX is this still correct?
NOPIC= 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 \
OpenPOWER on IntegriCloud