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 <sw0312.kim@samsung.com>
# 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