]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/ccache
toolchain: fix full toolchain crossbuild
[ipfire-2.x.git] / lfs / ccache
index 454032d0e1ee902127799b767b6d93cc29f643ab..64b09d1fa34a6529aa403d6fd524896c75708e7f 100644 (file)
 
 include Config
 
-VER        = 3.1.7
+VER        = 3.2.3
 
 THISAPP    = ccache-$(VER)
-DL_FILE    = $(THISAPP).tar.bz2
+DL_FILE    = $(THISAPP).tar.xz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)-pass$(PASS)
 
 ifeq "$(PASS)" "1"
-       CFLAGS := $(patsubst -march=%,,$(CFLAGS)) -static
+       CFLAGS := $(patsubst -march=%,,$(CFLAGS))
+       CFLAGS := $(patsubst -mfloat-abi=%,,$(CFLAGS))
 endif
 
 # Set max cache size to 5GB
@@ -47,7 +48,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 82257745eac54826527946e9e3d046f4
+$(DL_FILE)_MD5 = 608c78632086a4a051514722d6067a7b
 
 install : $(TARGET)
 
@@ -76,7 +77,7 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && ./configure --prefix=/tools
        cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
        cd $(DIR_APP) && make install