Module Name: src
Committed By: matt
Date: Sat Sep 5 02:02:51 UTC 2009
Modified Files:
src/tools/host-mkdep [matt-nb5-mips64]: Makefile
Log Message:
Make sure CFLAGS and LDFLAGS come HOST_CFLAGS and HOST_LDFLAGS.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.10.8.1 src/tools/host-mkdep/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/host-mkdep/Makefile
diff -u src/tools/host-mkdep/Makefile:1.10 src/tools/host-mkdep/Makefile:1.10.8.1
--- src/tools/host-mkdep/Makefile:1.10 Sun Oct 19 22:05:23 2008
+++ src/tools/host-mkdep/Makefile Sat Sep 5 02:02:51 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/10/19 22:05:23 apb Exp $
+# $NetBSD: Makefile,v 1.10.8.1 2009/09/05 02:02:51 matt Exp $
TIMESTAMP= ${TOOLDIR}/bin/${_TOOL_PREFIX}host-mkdep
@@ -13,7 +13,7 @@
realall: host-mkdep
host-mkdep: configure host-mkdep.in
-rm -f $@
- CC=${HOST_CC:Q} ${HOST_SH} ${.CURDIR}/configure --cache-file=config.cache
+ CC=${HOST_CC:Q} LDFLAGS=${HOST_LDFLAGS:Q} CFLAGS=${HOST_CFLAGS:Q} ${HOST_SH} ${.CURDIR}/configure --cache-file=config.cache
chmod +x $@
# This is the only program that comes before binstall.