mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 13:47:48 +00:00
Merge branch 'uclibc-atomics' of https://github.com/foss-for-synopsys-dwc-arc-processors/crosstool-ng
Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
commit
672c13eb00
@ -13,23 +13,6 @@ CT_DoArchUClibcConfig()
|
||||
CT_DoArchUClibcSelectArch "${cfg}" "arc"
|
||||
}
|
||||
|
||||
CT_DoArchUClibcCflags()
|
||||
{
|
||||
local cfg="${1}"
|
||||
local cflags="${2}"
|
||||
local f
|
||||
|
||||
CT_KconfigDisableOption "CONFIG_ARC_HAS_ATOMICS" "${cfg}"
|
||||
|
||||
for f in ${cflags}; do
|
||||
case "${f}" in
|
||||
-matomic)
|
||||
CT_KconfigEnableOption "CONFIG_ARC_HAS_ATOMICS" "${cfg}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
# Multilib: Adjust configure arguments for GLIBC
|
||||
# Usage: CT_DoArchGlibcAdjustConfigure <configure-args-array-name> <cflags>
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user