aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2004-09-29 23:42:44 +0000
committerPeter Wemm <peter@FreeBSD.org>2004-09-29 23:42:44 +0000
commit36716fe25ba9622fbcd16415eca59e7e8e7a3761 (patch)
tree7c35455c210a5abd987919d66e19148cde94867e /gnu
parent009b0286293d943157ebb289cbf8f135a03fc913 (diff)
downloadsrc-36716fe25ba9622fbcd16415eca59e7e8e7a3761.tar.gz
src-36716fe25ba9622fbcd16415eca59e7e8e7a3761.zip
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.
Notes
Notes: svn path=/head/; revision=135944
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 213e90430e33..2e5a3b6dcad5 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 \