config/path: remove $TOOLCHAIN_LANGUAGES and $TOOLCHAIN_CXX

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2016-09-23 14:29:49 -07:00 committed by Lukas Rusak
parent 734003bbeb
commit 433ab98027
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3
4 changed files with 1 additions and 14 deletions

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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 \