From mboxrd@z Thu Jan 1 00:00:00 1970 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> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8016561288912884686==" List-Id: --===============8016561288912884686== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 =3D $(DIR_SRC)/$(THISAPP) =20 TARGET =3D $(DIR_INFO)/$(THISAPP) =20 +CFLAGS +=3D -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=3D"" - cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make $(MAKETUNING) \ + CFLAGS=3D"$(CFLAGS)" LDFLAGS=3D"$(LDFLAGS)" cd $(DIR_APP) && make install @rm -rf $(DIR_APP) @$(POSTBUILD) --=20 2.20.1 --===============8016561288912884686==--