From fe610b9f401c6c4ef4c87dcd65304ec8f9110e7b Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Tue, 2 May 2023 18:16:04 +0900 Subject: [PATCH] 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 --- packaging/linux-amlogic.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1