[packages/kernel-tools] correct CFLAGS var when building perf
atler
atler at pld-linux.org
Sat Dec 19 00:10:59 CET 2020
commit 21836c3cca38265ed5ebf8b43ebd4b81cf32413d
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Dec 18 23:51:38 2020 +0100
correct CFLAGS var when building perf
kernel-tools.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/kernel-tools.spec b/kernel-tools.spec
index a77f759..6a977d2 100644
--- a/kernel-tools.spec
+++ b/kernel-tools.spec
@@ -492,7 +492,7 @@ CFLAGS="%{rpmcflags}" \
%{?with_gtk:GTK2=1} \
%{!?with_libunwind:NO_LIBUNWIND=1} \
%{makeopts} \
- CFLAGS_OPTIMIZE="%{rpmcflags}" \
+ EXTRA_CFLAGS="%{rpmcflags}" \
VF=1 \
WERROR=0 \
prefix=%{_prefix} \
@@ -598,7 +598,7 @@ install -p tools/power/cpupower/debug/x86_64/{centrino,powernow-k8}-decode $RPM_
%{?with_gtk:GTK2=1} \
%{!?with_libunwind:NO_LIBUNWIND=1} \
%{makeopts} \
- CFLAGS_OPTIMIZE="%{rpmcflags}" \
+ EXTRA_CFLAGS="%{rpmcflags}" \
WERROR=0 \
prefix=%{_prefix} \
perfexecdir=%{_datadir}/perf-core \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel-tools.git/commitdiff/21836c3cca38265ed5ebf8b43ebd4b81cf32413d
More information about the pld-cvs-commit
mailing list