From 3f1aecd5f1e4d9e7e4eb5a5234c4cc0d4d1c6de6 Mon Sep 17 00:00:00 2001 From: Ivan Davidov Date: Mon, 9 Jan 2017 23:56:40 +0200 Subject: [PATCH] Added fix for issue #48 reported by AwlsomeAlex. All optimization flags are preserved and the produced glibc is fully functional. --- src/04_build_glibc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/04_build_glibc.sh b/src/04_build_glibc.sh index 6ae2404d5..3230d79a9 100755 --- a/src/04_build_glibc.sh +++ b/src/04_build_glibc.sh @@ -50,7 +50,7 @@ $GLIBC_SRC/configure \ --without-gd \ --without-selinux \ --disable-werror \ - CFLAGS="-Os -s -fno-stack-protector -U_FORTIFY_SOURCE" + CFLAGS="-Os -s -fno-stack-protector -U_FORTIFY_SOURCE -fomit-frame-pointer" # Compile glibc with optimization for "parallel jobs" = "number of processors". echo "Building glibc..."