mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-16 18:01:09 +02:00
eclass/toolchain: Sync with Gentoo
It's from Gentoo commit 96c789720745edbfefb924e9c2d94c2961c2cae8.
This commit is contained in:
parent
49ee97d4d1
commit
052a72e462
@ -1199,6 +1199,8 @@ toolchain_setup_d() {
|
|||||||
toolchain_src_configure() {
|
toolchain_src_configure() {
|
||||||
BUILD_CONFIG_TARGETS=()
|
BUILD_CONFIG_TARGETS=()
|
||||||
is-flagq '-O3' && BUILD_CONFIG_TARGETS+=( bootstrap-O3 )
|
is-flagq '-O3' && BUILD_CONFIG_TARGETS+=( bootstrap-O3 )
|
||||||
|
is-flagq '-fsanitize=address' && BUILD_CONFIG_TARGETS+=( bootstrap-asan )
|
||||||
|
is-flagq '-fsanitize=undefined' && BUILD_CONFIG_TARGETS+=( bootstrap-ubsan )
|
||||||
|
|
||||||
downgrade_arch_flags
|
downgrade_arch_flags
|
||||||
gcc_do_filter_flags
|
gcc_do_filter_flags
|
||||||
@ -2178,7 +2180,7 @@ gcc_do_filter_flags() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ver_test -lt 16.1 ; then
|
if ver_test -lt 16.1 ; then
|
||||||
filter-flags -fdiagnostics-details
|
filter-flags '-fdiagnostics-show-context=*'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ada: PR116226
|
# Ada: PR116226
|
||||||
|
Loading…
x
Reference in New Issue
Block a user