diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-05-05 23:17:09 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-05-05 23:53:27 +0200 |
commit | 5f4d658d888b539de9a6247ae5b1a0999de5d4ec (patch) | |
tree | c7ee8a82d5d5fd0021c7eaad10b5d7f8c48f561a /package/gcc | |
parent | a84f478d3c9abdd7f695083bcfa710fad281bbaa (diff) | |
download | buildroot-5f4d658d888b539de9a6247ae5b1a0999de5d4ec.tar.gz buildroot-5f4d658d888b539de9a6247ae5b1a0999de5d4ec.zip |
gcc: disable libsanitizer for musl
A build issue affects libsanitizer on musl toolchains, even with
previous versions of gcc such as 4.8.x, so we disable building
libsanitizer when working with musl.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc')
-rw-r--r-- | package/gcc/gcc.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 3274821d0c..741bb84ee2 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -122,8 +122,9 @@ ifneq ($(BR2_TOOLCHAIN_BUILDROOT_WCHAR),y) HOST_GCC_COMMON_CONF_OPT += --disable-libquadmath endif -# libsanitizer requires wordexp, not in default uClibc config -ifeq ($(BR2_TOOLCHAIN_BUILDROOT_UCLIBC),y) +# libsanitizer requires wordexp, not in default uClibc config. Also +# doesn't build properly with musl. +ifeq ($(BR2_TOOLCHAIN_BUILDROOT_UCLIBC)$(BR2_TOOLCHAIN_BUILDROOT_MUSL),y) HOST_GCC_COMMON_CONF_OPT += --disable-libsanitizer endif |