|
@@ -116,6 +116,11 @@ ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y)
|
|
HOST_GCC_COMMON_CONF_OPTS += --disable-libitm
|
|
HOST_GCC_COMMON_CONF_OPTS += --disable-libitm
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+# libmpx uses secure_getenv and struct _libc_fpstate not present in musl
|
|
|
|
+ifeq ($(BR2_TOOLCHAIN_BUILDROOT_MUSL)$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),yy)
|
|
|
|
+HOST_GCC_COMMON_CONF_OPTS += --disable-libmpx
|
|
|
|
+endif
|
|
|
|
+
|
|
# quadmath support requires wchar
|
|
# quadmath support requires wchar
|
|
ifeq ($(BR2_USE_WCHAR)$(BR2_TOOLCHAIN_HAS_LIBQUADMATH),yy)
|
|
ifeq ($(BR2_USE_WCHAR)$(BR2_TOOLCHAIN_HAS_LIBQUADMATH),yy)
|
|
HOST_GCC_COMMON_CONF_OPTS += --enable-libquadmath
|
|
HOST_GCC_COMMON_CONF_OPTS += --enable-libquadmath
|