packages/libs/uclibc++/patches/005-wrapper.patch
nico b8535261b8 add a patch to prevent the wrapper from linking when generating dep files
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 12:28:31 +00:00

13 lines
637 B
Diff

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)