From patchwork Sun Aug 16 10:29:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 3320 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 4BTtjz4N2Yz3x0m for ; Sun, 16 Aug 2020 10:30:47 +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 4BTtjf3fNkzwW; Sun, 16 Aug 2020 10:30:30 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4BTtjY2PRfz2y3k; Sun, 16 Aug 2020 10:30:25 +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 4BTtjW07Spz2yDk for ; Sun, 16 Aug 2020 10:30:23 +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 4BTtjV6CQTzjn; Sun, 16 Aug 2020 10:30:22 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1597573822; 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=1OKp4cDXd3sffNym+UhXdLWjYJdftWGcNjgo6en0Yrg=; b=46UbLvUxgMruYz3bVyybOPmBKwgjggPnyTgeNUVk7qG4kG85x5g/HH7wRCf9CFC7zOlgO+ 1KxMbC5p2IauqzDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1597573822; 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=1OKp4cDXd3sffNym+UhXdLWjYJdftWGcNjgo6en0Yrg=; b=BNoKTa6jQ2jePr4ISCpiVyZmHV+/VFr20CoU6rodzQ5hCsUxG8nXTIUKSR6IAeDv6eW/nk MZisyS+E6zgBzlyz2sUDGp34mBzNxQbFMW4mWwQpxykvfLxAD3iWYq+8dZeveAf9zrk6cy ebuswdSorTUXOg/RJYevaFgZlglg8TpXTt0DOIhD+bUeZczgWZw6tWHucpoEYEOetwRxY5 kLfHWMUSGX3XnY5vONoiyDc7ASpUtDf/+/mllE0KO9W5KkN+Smrb+fRdF8MiDYzASFMDFC PweLu1SVtBxYo0ipGuDMKNh3g+iIOWkz2iEgDUj4VR4V191UAKiuyu0yeJAzQw== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 17/62] sysfsutils: Fix build with GCC 10 Date: Sun, 16 Aug 2020 10:29:08 +0000 Message-Id: <20200816102953.3881-17-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" Signed-off-by: Michael Tremer --- lfs/sysfsutils | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lfs/sysfsutils b/lfs/sysfsutils index 6da94cfec..b177cb322 100644 --- a/lfs/sysfsutils +++ b/lfs/sysfsutils @@ -33,6 +33,8 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) +CFLAGS += -fcommon + ############################################################################### # Top-level Rules ############################################################################### @@ -73,7 +75,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) cd $(DIR_APP) && ./configure --prefix="" - cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make $(MAKETUNING) \ + CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" cd $(DIR_APP) && make install @rm -rf $(DIR_APP) @$(POSTBUILD)