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 1834645..0bef008 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" \