mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
config/path: remove $TOOLCHAIN_LANGUAGES and $TOOLCHAIN_CXX
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
734003bbeb
commit
433ab98027
@ -131,13 +131,6 @@ require_eglibc() {
|
||||
fi
|
||||
}
|
||||
|
||||
require_cxx() {
|
||||
if [ "$TOOLCHAIN_CXX" != yes ]; then
|
||||
echo "$1 requires C++ toolchain support, aborting."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
add_user() {
|
||||
# Usage: add_user "username" "password" "userid" "groupid" "description" "home" "shell"
|
||||
mkdir -p ${INSTALL}/etc
|
||||
|
@ -62,9 +62,6 @@ fi
|
||||
# If you have ccache installed, take care that LOCAL_CXX don't point to it
|
||||
LOCAL_CXX=`which g++`
|
||||
|
||||
# Support C++ in toolchain
|
||||
TOOLCHAIN_CXX="yes"
|
||||
|
||||
# verbose compilation mode (yes/no)
|
||||
VERBOSE="yes"
|
||||
|
||||
|
@ -165,9 +165,6 @@ XORG_PATH_RGB=/usr/lib/X11/rgb
|
||||
XORG_PATH_MODULES=/usr/lib/xorg/modules
|
||||
XORG_PATH_DRIVERS=/usr/lib/xorg/modules/drivers
|
||||
|
||||
TOOLCHAIN_LANGUAGES=c
|
||||
[ "$TOOLCHAIN_CXX" = yes ] && TOOLCHAIN_LANGUAGES=${TOOLCHAIN_LANGUAGES},c++
|
||||
|
||||
TARGET_CC=${TARGET_PREFIX}gcc
|
||||
TARGET_CXX=${TARGET_PREFIX}g++
|
||||
TARGET_CPP=${TARGET_PREFIX}cpp
|
||||
|
@ -79,7 +79,7 @@ PKG_CONFIGURE_OPTS_HOST="--target=$TARGET_NAME \
|
||||
--with-mpc=$ROOT/$TOOLCHAIN \
|
||||
--without-ppl \
|
||||
--without-cloog \
|
||||
--enable-languages=${TOOLCHAIN_LANGUAGES} \
|
||||
--enable-languages=c,c++ \
|
||||
--with-gnu-as \
|
||||
--with-gnu-ld \
|
||||
--enable-__cxa_atexit \
|
||||
|
Loading…
x
Reference in New Issue
Block a user