uClibc++: really really fix ccache issue
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8605 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
785e2a0b9d
commit
b4efc1701f
@ -55,8 +55,6 @@ define Build/Configure
|
||||
else \
|
||||
cp ./files/config.default $(PKG_BUILD_DIR)/.config; \
|
||||
fi
|
||||
# fix ccache issue
|
||||
$(SED) 's,$$$$CC,$(TARGET_CROSS)gcc,g' $(PKG_BUILD_DIR)/scripts/find_lib*.sh
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
|
24
libs/uclibc++/patches/004-ccache_fixes.patch
Normal file
24
libs/uclibc++/patches/004-ccache_fixes.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -ruN uClibc++-0.2.2-old/src/abi/libgcc_eh/Makefile uClibc++-0.2.2-new/src/abi/libgcc_eh/Makefile
|
||||
--- uClibc++-0.2.2-old/src/abi/libgcc_eh/Makefile 2007-06-04 00:51:13.000000000 +0200
|
||||
+++ uClibc++-0.2.2-new/src/abi/libgcc_eh/Makefile 2007-09-03 21:51:07.000000000 +0200
|
||||
@@ -16,7 +16,7 @@
|
||||
#
|
||||
#else
|
||||
# echo Binary
|
||||
- $(AR) x $(shell CC=$(CC) $(TOPDIR)/scripts/find_libgcc_eh.sh)
|
||||
+ $(AR) x $(shell CC="$(CC)" $(TOPDIR)/scripts/find_libgcc_eh.sh)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
diff -ruN uClibc++-0.2.2-old/src/abi/libsupc/Makefile uClibc++-0.2.2-new/src/abi/libsupc/Makefile
|
||||
--- uClibc++-0.2.2-old/src/abi/libsupc/Makefile 2007-06-04 00:51:13.000000000 +0200
|
||||
+++ uClibc++-0.2.2-new/src/abi/libsupc/Makefile 2007-09-03 21:51:17.000000000 +0200
|
||||
@@ -14,7 +14,7 @@
|
||||
#
|
||||
#else
|
||||
# echo Binary
|
||||
- $(AR) x $(shell CC=$(CC) $(TOPDIR)/scripts/find_libsupc.sh)
|
||||
+ $(AR) x $(shell CC="$(CC)" $(TOPDIR)/scripts/find_libsupc.sh)
|
||||
$(RM) -f new_op*.o del_op*.o pure.o new_handler.o eh_alloc.o eh_globals.o
|
||||
#
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user