From 8943cf0ed788cae381af8ce40b791de80d4c0940 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 26 Dec 2019 19:36:34 -0800 Subject: musl: Do not pass -frounding-math for now clang/master hangs (can you believe) while compiling musl on armv7ve Signed-off-by: Khem Raj --- recipes-core/musl/musl_%.bbappend | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/recipes-core/musl/musl_%.bbappend b/recipes-core/musl/musl_%.bbappend index 2301366..a6a1bf5 100644 --- a/recipes-core/musl/musl_%.bbappend +++ b/recipes-core/musl/musl_%.bbappend @@ -2,4 +2,11 @@ DEPENDS_append_toolchain-clang = " clang-cross-${TARGET_ARCH}" TOOLCHAIN_x86-x32 = "gcc" TOOLCHAIN_riscv64 = "gcc" TOOLCHAIN_powerpc64 = "gcc" + inherit lto + +# workaround until https://bugs.llvm.org/show_bug.cgi?id=44384 +# is fixed +do_configure_prepend_toolchain-clang () { + sed -i -e '/frounding-math/d' ${S}/configure +} -- cgit v1.2.3-54-g00ecf