mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/gcc: disable libsanitizer for uClibc
libsanitizer requires wordexp() support which we lack in our current default uClibc configurations (and it's fat & big). Hence disable it when the toolchain is uClibc-based. It only affects gcc 4.9+ since it's default on now for supported platforms. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
a8b3db9d3e
commit
554e29e267
@@ -125,6 +125,11 @@ ifneq ($(BR2_TOOLCHAIN_BUILDROOT_WCHAR),y)
|
|||||||
HOST_GCC_COMMON_CONF_OPT += --disable-libquadmath
|
HOST_GCC_COMMON_CONF_OPT += --disable-libquadmath
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# libsanitizer requires wordexp, not in default uClibc config
|
||||||
|
ifeq ($(BR2_TOOLCHAIN_BUILDROOT_UCLIBC),y)
|
||||||
|
HOST_GCC_COMMON_CONF_OPT += --disable-libsanitizer
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_GCC_ENABLE_TLS),y)
|
ifeq ($(BR2_GCC_ENABLE_TLS),y)
|
||||||
HOST_GCC_COMMON_CONF_OPT += --enable-tls
|
HOST_GCC_COMMON_CONF_OPT += --enable-tls
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user