From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 58/62] glibc: Drop any custom CFLAGS Date: Sun, 16 Aug 2020 10:29:49 +0000 Message-ID: <20200816102953.3881-58-michael.tremer@ipfire.org> In-Reply-To: <20200816102953.3881-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0641874434817540737==" List-Id: --===============0641874434817540737== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable glibc is nothing special and can and should be built with the same flags than the rest of the system. Signed-off-by: Michael Tremer --- lfs/glibc | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/lfs/glibc b/lfs/glibc index 7c12ea48a..546b53b12 100644 --- a/lfs/glibc +++ b/lfs/glibc @@ -51,21 +51,6 @@ else libc_cv_c_cleanup=3Dyes endif =20 -# Enable some extra optimization for the glibc code -CFLAGS =3D -O3 -DNDEBUG -fasynchronous-unwind-tables -fPIC -DPIC - -ifeq "$(BUILD_ARCH)" "armv7hl" - CFLAGS +=3D -march=3Darmv7-a -mfpu=3Dvfpv3-d16 -mfloat-abi=3Dhard -endif - -ifeq "$(BUILD_ARCH)" "i586" - CFLAGS +=3D -march=3Di586 -mtune=3Dgeneric -mindirect-branch=3Dthunk -mfunc= tion-return=3Dthunk -mno-tls-direct-seg-refs -endif - -ifeq "$(BUILD_ARCH)" "x86_64" - CFLAGS +=3D -mindirect-branch=3Dthunk -mfunction-return=3Dthunk -endif - # Disable hardware FP for armv5tel ifeq "$(BUILD_ARCH)" "armv5tel" EXTRA_CONFIG +=3D \ --=20 2.20.1 --===============0641874434817540737==--