mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
ccache: dont use $HOST_C* variables
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
31aef4178a
commit
16c3b47e15
@ -33,6 +33,7 @@ PKG_IS_ADDON="no"
|
|||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
export CC=$LOCAL_CC
|
export CC=$LOCAL_CC
|
||||||
|
export CXX=$LOCAL_CXX
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_HOST="--with-bundled-zlib"
|
PKG_CONFIGURE_OPTS_HOST="--with-bundled-zlib"
|
||||||
|
|
||||||
@ -40,17 +41,17 @@ post_makeinstall_host() {
|
|||||||
# setup ccache
|
# setup ccache
|
||||||
$ROOT/$TOOLCHAIN/bin/ccache --max-size=$CCACHE_CACHE_SIZE
|
$ROOT/$TOOLCHAIN/bin/ccache --max-size=$CCACHE_CACHE_SIZE
|
||||||
|
|
||||||
cat > $HOST_CC <<EOF
|
cat > $ROOT/$TOOLCHAIN/bin/host-gcc <<EOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
$ROOT/$TOOLCHAIN/bin/ccache $LOCAL_CC "\$@"
|
$ROOT/$TOOLCHAIN/bin/ccache $CC "\$@"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
chmod +x $HOST_CC
|
chmod +x $ROOT/$TOOLCHAIN/bin/host-gcc
|
||||||
|
|
||||||
cat > $HOST_CXX <<EOF
|
cat > $ROOT/$TOOLCHAIN/bin/host-g++ <<EOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
$ROOT/$TOOLCHAIN/bin/ccache $LOCAL_CXX "\$@"
|
$ROOT/$TOOLCHAIN/bin/ccache $CXX "\$@"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
chmod +x $HOST_CXX
|
chmod +x $ROOT/$TOOLCHAIN/bin/host-g++
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user