summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@NetBSD.org>1999-10-09 16:11:16 +0000
committersommerfeld <sommerfeld@NetBSD.org>1999-10-09 16:11:16 +0000
commitc75e7a14ab6bcd49942a47985163ccd2fa5e8baf (patch)
tree05dc87408ab66a91f62901299e350d1a16e15ffd /gnu/usr.bin
parent9a908dc67faba09b15f117777259067123326918 (diff)
CPPFLAGS/HOST_CPPFLAGS isolation for cross-compiles
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/egcs/common/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/egcs/common/Makefile b/gnu/usr.bin/egcs/common/Makefile
index f90857b4102..4291b270b1c 100644
--- a/gnu/usr.bin/egcs/common/Makefile
+++ b/gnu/usr.bin/egcs/common/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 1999/02/24 17:48:42 drochner Exp $
+# $NetBSD: Makefile,v 1.28 1999/10/09 16:11:16 sommerfeld Exp $
MKLINKLIB=no
MKMAN= no
@@ -20,8 +20,9 @@ GCC_ARCH?= ${MACHINE_GNU_ARCH}
.endif
CPPFLAGS+= -DTARGET_NAME=\"${MACHINE_GNU_ARCH}-netbsd\"
+HOST_CPPFLAGS+= -DTARGET_NAME=\"${MACHINE_GNU_ARCH}-netbsd\"
CPICFLAGS= -fPIC -DPIC
-HOST_CPPFLAGS= ${CPPFLAGS}
+
MD= ${DIST}/config/${GCC_ARCH}/${GCC_ARCH}.md