From: Dongkyun Son Date: Fri, 17 May 2024 11:26:41 +0000 (+0900) Subject: Fix Werrors with GCC-14.1.0 X-Git-Tag: accepted/tizen/base/toolchain/20240604.070928^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_base;p=product%2Fupstream%2Fgrep.git Fix Werrors with GCC-14.1.0 -Wimplicit-function-declaration Change-Id: Ic8adcbf65983b74f143e02e65a03fe52beeb7052 Signed-off-by: Dongkyun Son --- 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