summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2003-03-16 22:44:01 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2003-03-16 22:44:01 +0000
commit8fb9b278d9b891931668f5528ef42023f6f93872 (patch)
treee3ef45d10d2084c9eadba6fffcb1214970e5f45c
parent437077b04deacdc12734b9afa71bd773575e5cbc (diff)
Notes
-rw-r--r--gnu/lib/libobjc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile
index b6af267550e2..c8b29d6e0cd4 100644
--- a/gnu/lib/libobjc/Makefile
+++ b/gnu/lib/libobjc/Makefile
@@ -18,6 +18,10 @@ 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
+.if ${MACHINE_ARCH} == "ia64"
+CFLAGS+= -fpic
+.endif
+
CFLAGS+= -fgnu-runtime -DHAVE_GTHR_DEFAULT -DIN_TARGET_LIBS
CFLAGS+= -I. -I${.CURDIR}/../../usr.bin/cc/cc_tools
CFLAGS+= -I${OBJCDIR}/objc -I${OBJCDIR}