From: Michael Tremer Date: Mon, 19 Apr 2021 10:27:11 +0000 (+0000) Subject: glibc: Disable LTO X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e6ff96e206e612c3ca70d326d642a99511e6d98;p=people%2Fms%2Fipfire-2.x.git glibc: Disable LTO Signed-off-by: Michael Tremer --- diff --git a/lfs/glibc b/lfs/glibc index 882c2aa50f..7e272615f8 100644 --- a/lfs/glibc +++ b/lfs/glibc @@ -51,6 +51,9 @@ else libc_cv_c_cleanup=yes endif +# Disable LTO +CFLAGS_LTO = + ifeq "$(BUILD_ARCH)" "aarch64" CFLAGS += -Wno-error=maybe-uninitialized endif