From 5e10dce66a2978e9309069873ee2c0c1add09e33 Mon Sep 17 00:00:00 2001 From: Dongkyun Son Date: Fri, 17 May 2024 20:26:41 +0900 Subject: [PATCH] Fix Werrors with GCC-14.1.0 -Wimplicit-function-declaration Change-Id: Ic8adcbf65983b74f143e02e65a03fe52beeb7052 Signed-off-by: Dongkyun Son --- packaging/grep.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/grep.spec b/packaging/grep.spec index f633054..447ec49 100644 --- a/packaging/grep.spec +++ b/packaging/grep.spec @@ -29,8 +29,8 @@ the matching lines. cp %{SOURCE1001} . %build -CFLAGS+=" -fPIE" -LDFLAGS+=" -pie" +export CFLAGS+=" -fPIE -Wno-error=implicit-function-declaration" +export LDFLAGS+=" -pie" %configure --disable-silent-rules \ --without-included-regex -- 2.7.4