From: Nicolas Thill Date: Sun, 23 Sep 2007 12:28:31 +0000 (+0000) Subject: add a patch to prevent the wrapper from linking when generating dep files X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c7eb5b84d1e2b05d8d40d54bfc7e50dc83e89ae7;p=openwrt%2Fsvn-archive%2Farchive.git add a patch to prevent the wrapper from linking when generating dep files SVN-Revision: 8976 --- diff --git a/libs/uclibc++/patches/005-wrapper.patch b/libs/uclibc++/patches/005-wrapper.patch new file mode 100644 index 0000000000..b526a901f9 --- /dev/null +++ b/libs/uclibc++/patches/005-wrapper.patch @@ -0,0 +1,12 @@ +diff -ruN uClibc++-0.2.2-old/bin/Makefile uClibc++-0.2.2-new/bin/Makefile +--- uClibc++-0.2.2-old/bin/Makefile 2007-09-23 13:46:10.000000000 +0200 ++++ uClibc++-0.2.2-new/bin/Makefile 2007-09-23 13:47:03.000000000 +0200 +@@ -25,7 +25,7 @@ + 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)