forked from ports/contrib
gcj: reverse distcc and ccache checks as distcc should take priority
This commit is contained in:
parent
3628071268
commit
9171532c55
@ -28,10 +28,10 @@ build() {
|
||||
--with-system-zlib \
|
||||
--with-pkgversion="CRUX"
|
||||
|
||||
if [ -n "$(pkginfo -i | grep '^ccache ')" ]; then
|
||||
CC="/usr/bin/ccache"
|
||||
elif [ -n "$(pkginfo -i | grep '^distcc ')" ]; then
|
||||
if [ -n "$(pkginfo -i | grep '^distcc ')" ]; then
|
||||
CC="/usr/bin/distcc"
|
||||
elif [ -n "$(pkginfo -i | grep '^ccache ')" ]; then
|
||||
CC="/usr/bin/ccache"
|
||||
fi
|
||||
|
||||
make \
|
||||
|
Loading…
x
Reference in New Issue
Block a user