really fix ccache issue (hopefully)
authorNicolas Thill <nico@openwrt.org>
Mon, 3 Sep 2007 18:39:10 +0000 (18:39 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 3 Sep 2007 18:39:10 +0000 (18:39 +0000)
SVN-Revision: 8604

libs/uclibc++/Makefile

index 1834645ccb3a3fdc0521de328e531ab9328e0a49..0bef00829abfc11b5e249e750850e453b9ec9aa0 100644 (file)
@@ -55,14 +55,11 @@ 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
-       # fix ccache issue
-       $(MAKE) -C $(PKG_BUILD_DIR)/src/abi/libsupc \
-               $(MAKE_FLAGS) \
-               CC="$(TARGET_CROSS)gcc" \
-               all
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(MAKE_FLAGS) \
                DESTDIR="$(PKG_INSTALL_DIR)/usr" \