mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 07:57:49 +00:00
ccache:
- get gcc version directly from installed gcc (so we can use gcc snapshots too)
This commit is contained in:
parent
6125612346
commit
f828784d08
@ -7,7 +7,7 @@ GCC_PKG_DIR=`find $PACKAGES -type d -name gcc`
|
|||||||
make -C $PKG_BUILD install
|
make -C $PKG_BUILD install
|
||||||
|
|
||||||
if [ "$2" = toolchain ]; then
|
if [ "$2" = toolchain ]; then
|
||||||
GCC_VERSION=`sed -n 's/.*\/gcc-\([0-9\.]*\)\..*/\1/p' $GCC_PKG_DIR/url`
|
GCC_VERSION=`$ROOT/$TOOLCHAIN/$TARGET_NAME/bin/gcc -dumpversion`
|
||||||
CROSS_CC=$TARGET_CC-$GCC_VERSION
|
CROSS_CC=$TARGET_CC-$GCC_VERSION
|
||||||
rm -f $TARGET_CC
|
rm -f $TARGET_CC
|
||||||
echo "#!/bin/sh" >$TARGET_CC
|
echo "#!/bin/sh" >$TARGET_CC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user