From patchwork Sun Aug 16 10:29:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 3363 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4BTtmR4L08z3x0m for ; Sun, 16 Aug 2020 10:32:55 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4BTtk24YW1z11Z; Sun, 16 Aug 2020 10:30:50 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4BTtk202kVz30Wm; Sun, 16 Aug 2020 10:30:50 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4BTtk125m0z2xjj for ; Sun, 16 Aug 2020 10:30:49 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 4BTtjx1qSlz11G; Sun, 16 Aug 2020 10:30:45 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1597573845; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KagPFZunEIUWZjeZU9GEG7gHRzlebp9aaVnSKZvfiU4=; b=1pJPGYRTYsdqBtx5VIzXka5GVEEjwhGm6L/l3ezAT1DdBQxGYZiihpsEC9krbY1jLEAQgI gucIRJTtVvcgWpBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1597573845; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KagPFZunEIUWZjeZU9GEG7gHRzlebp9aaVnSKZvfiU4=; b=m90anRSuQiUi/sXa1FL2IiObvX2XTmjDESCBMt8tZ2THQFDxfKz3BJwjKjB3xVIN4oKARE bhjc+rxVxYIbOqSJ/qPgXnKNRHR+Vjvcer31e+i+SdL6ewWjppkOtUOvJeODfKeVGKnm2W MNtX+f6RZ6wNsd8fOttT9HSovZh2rbnvL2LcbcRQ9pu2KKjwtvElWcYc2LFqtbqSKmQb0l 2GfMA4F5f74gVYi5YdhrMjiudi7ymE2K6OIuiXX4kA4zoW58Cka3k63ytHuMmTlawinIas 4Gn0nSg5iVinRDhKl4dYUAQLwpttsvvaVgYAICYSWdTadv7dyiTAtr5M3G/Nzg== 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> References: <20200816102953.3881-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" 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=yes endif -# Enable some extra optimization for the glibc code -CFLAGS = -O3 -DNDEBUG -fasynchronous-unwind-tables -fPIC -DPIC - -ifeq "$(BUILD_ARCH)" "armv7hl" - CFLAGS += -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -endif - -ifeq "$(BUILD_ARCH)" "i586" - CFLAGS += -march=i586 -mtune=generic -mindirect-branch=thunk -mfunction-return=thunk -mno-tls-direct-seg-refs -endif - -ifeq "$(BUILD_ARCH)" "x86_64" - CFLAGS += -mindirect-branch=thunk -mfunction-return=thunk -endif - # Disable hardware FP for armv5tel ifeq "$(BUILD_ARCH)" "armv5tel" EXTRA_CONFIG += \