From 36716fe25ba9622fbcd16415eca59e7e8e7a3761 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 29 Sep 2004 23:42:44 +0000 Subject: 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. --- gnu/lib/libobjc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/lib/libobjc') 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 \ -- cgit v1.3