This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
# HG changeset patch # User Niels Penneman <niels@penneman.org> # Date 1388743068 -3600 # Fri Jan 03 10:57:48 2014 +0100 # Node ID 309df93f4354c80e05c950ded710d111c50d7b26 # Parent 8e2077dfc250877b2182f31cac97bd1292e01026 cc/gcc: fix gcc 4.8 build for C library without threads support Signed-off-by: Niels Penneman <niels@penneman.org> diff -r 8e2077dfc250 -r 309df93f4354 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Fri Jan 03 00:13:15 2014 +0100 +++ b/scripts/build/cc/gcc.sh Fri Jan 03 10:57:48 2014 +0100 @@ -643,6 +643,11 @@ 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 -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |