Add -DIN_TARGET_LIB to prevent libobjc from depending on in-tree GCC code.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 9 Feb 2005 22:46:58 +0000 (22:46 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 9 Feb 2005 22:46:58 +0000 (22:46 +0000)
This removes the undefined x86_field_alignment from the DSO.

Noticed-by: eirikn
gnu/lib/gcc34/libobjc/Makefile

index ad71e8a..465f3ff 100644 (file)
@@ -1,4 +1,4 @@
-# $DragonFly: src/gnu/lib/gcc34/libobjc/Makefile,v 1.2 2004/12/20 19:23:26 joerg Exp $
+# $DragonFly: src/gnu/lib/gcc34/libobjc/Makefile,v 1.3 2005/02/09 22:46:58 joerg Exp $
 
 GCC_NO_PATH=   1
 .include "../Makefile.inc"
@@ -6,7 +6,7 @@ GCC_NO_PATH=    1
 
 .PATH:         ${GCCDIR}/libobjc ${GCCDIR}/libobjc/objc
 
-CFLAGS+=       -I${GCCDIR}/libobjc/objc -I.
+CFLAGS+=       -I${GCCDIR}/libobjc/objc -I. -DIN_TARGET_LIBS
 
 LIB=           objc
 SHLIB_MAJOR=   1