From: Seung-Woo Kim Date: Tue, 2 May 2023 09:16:04 +0000 (+0900) Subject: packaging: ignore Werror for tools X-Git-Tag: accepted/tizen/unified/20230531.034423~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe610b9f401c6c4ef4c87dcd65304ec8f9110e7b;p=platform%2Fkernel%2Flinux-amlogic.git packaging: ignore Werror for tools With gcc-12 and new binutils, there are some warnings in tools. Do not cause error for the warnings. Change-Id: I80d61e6d0fbddb0fa8ed5de2238556e51cbe5eb5 Signed-off-by: Seung-Woo Kim --- diff --git a/packaging/linux-amlogic.spec b/packaging/linux-amlogic.spec index 35a6cfd6ab6e..f323eb4c0a56 100644 --- a/packaging/linux-amlogic.spec +++ b/packaging/linux-amlogic.spec @@ -311,7 +311,7 @@ done # Install perf install -d %{buildroot}/usr -make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" DESTDIR=%{buildroot}/usr install NO_LIBPERL=1 +WERROR=0 make -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" DESTDIR=%{buildroot}/usr install NO_LIBPERL=1 rm -rf %{buildroot}/usr/etc rm -rf %{buildroot}/usr/lib/debug rm -rf %{buildroot}/usr/lib/perf