Merge pull request #316 from bhundven/fix_build

gcc: fix previous commit
This commit is contained in:
Bryan Hundven 2016-01-07 10:46:20 -08:00
commit 182bdbc1b8

View File

@ -266,7 +266,7 @@ do_gcc_core_backend() {
extra_config+=("--disable-__cxa_atexit")
fi
if [ -n "${CT_CC_GCC_ENABLE_CXX_FLAGS}"
if [ -n "${CT_CC_GCC_ENABLE_CXX_FLAGS}" \
-a "${mode}" = "baremetal" ]; then
extra_config+=("--enable-cxx-flags=${CT_CC_GCC_ENABLE_CXX_FLAGS}")
fi