diff options
Diffstat (limited to 'gnu/lib/libobjc/Makefile')
-rw-r--r-- | gnu/lib/libobjc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile index b6af267..c8b29d6 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} |