mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
cc/gcc: fix gcc 4.8 build for C library without threads support
Signed-off-by: Niels Penneman <niels@penneman.org> Message-Id: <309df93f4354c80e05c9.1388743085@i7sb.local> Patchwork-Id: 306521
This commit is contained in:
parent
23e393f2ec
commit
89e9d9851a
@ -643,6 +643,11 @@ do_cc_backend() {
|
||||
if [ -n "${CT_CC_ENABLE_CXX_FLAGS}" ]; then
|
||||
extra_config+=("--enable-cxx-flags=${CT_CC_ENABLE_CXX_FLAGS}")
|
||||
fi
|
||||
if [ "${CT_CC_GCC_4_8_or_later}" = "y" ]; then
|
||||
if [ "${CT_THREADS}" = "none" ]; then
|
||||
extra_config+=(--disable-libatomic)
|
||||
fi
|
||||
fi
|
||||
if [ "${CT_CC_GCC_LIBMUDFLAP}" = "y" ]; then
|
||||
extra_config+=(--enable-libmudflap)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user