]> git.pld-linux.org Git - packages/kernel-tools.git/commitdiff
correct CFLAGS var when building perf
authorJan Palus <atler@pld-linux.org>
Fri, 18 Dec 2020 22:51:38 +0000 (23:51 +0100)
committerJan Palus <atler@pld-linux.org>
Fri, 18 Dec 2020 22:51:38 +0000 (23:51 +0100)
kernel-tools.spec

index a77f759f6689bd78dbdf9792b34544ac969bb4df..6a977d2f7cea6f0c9832ae753bd7ce25ad7b4396 100644 (file)
@@ -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 \
This page took 0.031045 seconds and 4 git commands to generate.