###############################################################################
# #
# IPFire.org - A linux based firewall #
###############################################################################
# #
# IPFire.org - A linux based firewall #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
ifeq "$(PASS)" "1"
CFLAGS := $(patsubst -march=%,,$(CFLAGS))
CFLAGS := $(patsubst -mfloat-abi=%,,$(CFLAGS))
ifeq "$(PASS)" "1"
CFLAGS := $(patsubst -march=%,,$(CFLAGS))
CFLAGS := $(patsubst -mfloat-abi=%,,$(CFLAGS))
cd $(DIR_APP) && ./configure --prefix=/tools
cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
cd $(DIR_APP) && make install
cd $(DIR_APP) && ./configure --prefix=/tools
cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
cd $(DIR_APP) && make install
mkdir -pv /tools/ccache/bin
ln -svf ../../bin/ccache /tools/ccache/bin/gcc
ln -svf ../../bin/ccache /tools/ccache/bin/g++
mkdir -pv /tools/ccache/bin
ln -svf ../../bin/ccache /tools/ccache/bin/gcc
ln -svf ../../bin/ccache /tools/ccache/bin/g++
ln -svf ../../bin/ccache /tools/ccache/bin/$(CROSSTARGET)-g++
ln -svf ../../bin/ccache /tools/ccache/bin/$(CROSSTARGET)-cc
ln -svf ../../bin/ccache /tools/ccache/bin/$(CROSSTARGET)-c++
ln -svf ../../bin/ccache /tools/ccache/bin/$(CROSSTARGET)-g++
ln -svf ../../bin/ccache /tools/ccache/bin/$(CROSSTARGET)-cc
ln -svf ../../bin/ccache /tools/ccache/bin/$(CROSSTARGET)-c++
ln -svf ../../bin/ccache /tools/ccache/bin/$(BUILDTARGET)-gcc
ln -svf ../../bin/ccache /tools/ccache/bin/$(BUILDTARGET)-g++
ln -svf ../../bin/ccache /tools/ccache/bin/$(BUILDTARGET)-cc
ln -svf ../../bin/ccache /tools/ccache/bin/$(BUILDTARGET)-c++
ln -svf ../../bin/ccache /tools/ccache/bin/$(BUILDTARGET)-gcc
ln -svf ../../bin/ccache /tools/ccache/bin/$(BUILDTARGET)-g++
ln -svf ../../bin/ccache /tools/ccache/bin/$(BUILDTARGET)-cc
ln -svf ../../bin/ccache /tools/ccache/bin/$(BUILDTARGET)-c++