From: Dongkyun Son Date: Mon, 17 Jun 2024 12:44:53 +0000 (+0900) Subject: Fix Werrors with GCC-14.1.0 X-Git-Tag: accepted/tizen/unified/20240619.151955^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;p=platform%2Fupstream%2Fprelink.git Fix Werrors with GCC-14.1.0 Change-Id: I298efca74052b9272c964368a61bffb640ddd0f3 Signed-off-by: Dongkyun Son --- diff --git a/packaging/prelink.spec b/packaging/prelink.spec index 32fc475..49dbb07 100644 --- a/packaging/prelink.spec +++ b/packaging/prelink.spec @@ -43,7 +43,7 @@ ELF_DIR=`pwd` LDFLAGS="-L$ELF_DIR" } -CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$LDFLAGS" \ +CFLAGS="$RPM_OPT_FLAGS -Wno-implicit-function-declaration" LDFLAGS="$LDFLAGS" \ %configure --prefix=/usr --mandir=%{_mandir} || cat config.log make %{?jobs:-j%jobs}