[git commit] buildsys: prevent the wrapper from linking when generating dependency files

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue May 15 17:24:14 UTC 2012


commit: http://git.uclibc.org/uClibc++/commit/?id=8edee59c4bfe26b9a88332f6ce4b80e1b0cfea94
branch: http://git.uclibc.org/uClibc++/commit/?id=refs/heads/master

Signed-off-by: Nicolas Thill <nico at openwrt.org>
Signed-off-by: Florian Fainelli <florian at openwrt.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 bin/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/Makefile b/bin/Makefile
index 8d182fc..b6c11a5 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -25,7 +25,7 @@ $(WRAPPER): Makefile
 	echo 'while [ -n "$$1" ]' >> $(WRAPPER)
 	echo 'do' >> $(WRAPPER)
 	echo '	WRAPPER_OPTIONS="$$WRAPPER_OPTIONS $$1"' >> $(WRAPPER)
-	echo '	if [ "$$1" = "-c" -o "$$1" = "-E" -o "$$1" = "-S" ]' >> $(WRAPPER)
+	echo '	if [ "$$1" = "-c" -o "$$1" = "-E" -o "$$1" = "-S" -o "$$1" = "-MF" ]' >> $(WRAPPER)
 	echo '	then' >> $(WRAPPER)
 	echo '		WRAPPER_INCLIB="N"' >> $(WRAPPER)
 	echo '	fi' >> $(WRAPPER)


More information about the uClibc-cvs mailing list