Skip to content

Commit

Permalink
Merge pull request #316 from bhundven/fix_build
Browse files Browse the repository at this point in the history
gcc: fix previous commit
  • Loading branch information
bhundven committed Jan 7, 2016
2 parents f72bd21 + 0d4275e commit 182bdbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build/cc/100-gcc.sh
Expand Up @@ -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
Expand Down

0 comments on commit 182bdbc

Please sign in to comment.