mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
Merge pull request #1523 from stephanosio/add_tm_clone_registry_config_upstream
gcc: Add CT_CC_GCC_TM_CLONE_REGISTRY config
This commit is contained in:
commit
e713913029
@ -279,6 +279,13 @@ config CC_CXA_ATEXIT
|
||||
If you get the missing symbol "__cxa_atexit" when building C++ programs,
|
||||
you might want to try disabling this option.
|
||||
|
||||
config CC_GCC_TM_CLONE_REGISTRY
|
||||
bool
|
||||
prompt "Use TM clone registry"
|
||||
depends on GCC_10_or_later
|
||||
help
|
||||
Enable GCC transactional memory clone registry in libgcc.
|
||||
|
||||
config CC_GCC_DISABLE_PCH
|
||||
bool
|
||||
prompt "Do not build PCH"
|
||||
|
@ -2,5 +2,5 @@ repository='svn svn://gcc.gnu.org/svn/gcc'
|
||||
mirrors='$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})'
|
||||
relevantpattern='4.*|. *|.'
|
||||
origin='GNU'
|
||||
milestones='4.8 4.9 5 6 7 8 11'
|
||||
milestones='4.8 4.9 5 6 7 8 9 10 11'
|
||||
archive_formats='.tar.xz .tar.gz'
|
||||
|
@ -396,6 +396,12 @@ do_gcc_core_backend() {
|
||||
extra_config+=("--disable-__cxa_atexit")
|
||||
fi
|
||||
|
||||
if [ "${CT_CC_GCC_TM_CLONE_REGISTRY}" = "y" ]; then
|
||||
extra_config+=("--enable-tm-clone-registry")
|
||||
else
|
||||
extra_config+=("--disable-tm-clone-registry")
|
||||
fi
|
||||
|
||||
if [ -n "${CT_CC_GCC_ENABLE_CXX_FLAGS}" \
|
||||
-a "${mode}" = "baremetal" ]; then
|
||||
extra_config+=("--enable-cxx-flags=${CT_CC_GCC_ENABLE_CXX_FLAGS}")
|
||||
@ -998,6 +1004,12 @@ do_gcc_backend() {
|
||||
extra_config+=("--disable-__cxa_atexit")
|
||||
fi
|
||||
|
||||
if [ "${CT_CC_GCC_TM_CLONE_REGISTRY}" = "y" ]; then
|
||||
extra_config+=("--enable-tm-clone-registry")
|
||||
else
|
||||
extra_config+=("--disable-tm-clone-registry")
|
||||
fi
|
||||
|
||||
if [ -n "${CT_CC_GCC_ENABLE_CXX_FLAGS}" ]; then
|
||||
extra_config+=("--enable-cxx-flags=${CT_CC_GCC_ENABLE_CXX_FLAGS}")
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user