mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
toolchain.eclass: support bootstrap-asan and bootstrap-ubsan
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1199,6 +1199,8 @@ toolchain_setup_d() {
|
||||
toolchain_src_configure() {
|
||||
BUILD_CONFIG_TARGETS=()
|
||||
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
|
||||
gcc_do_filter_flags
|
||||
|
||||
Reference in New Issue
Block a user