Blame 0001-rpm-use-set_build_flags-skip-ci.patch

Igor Gnatenko d715e3
From 48e8347b4755800287aa653a4d08b89d86bfda52 Mon Sep 17 00:00:00 2001
Igor Gnatenko 795680
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Igor Gnatenko 795680
Date: Mon, 23 Jul 2018 19:25:30 +0200
Igor Gnatenko d715e3
Subject: [PATCH 1/5] rpm: use %set_build_flags [skip ci]
Igor Gnatenko 795680
Igor Gnatenko 795680
It has better name and should do the trick.
Igor Gnatenko 795680
Igor Gnatenko 795680
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Igor Gnatenko d715e3
(cherry picked from commit 99070beec4a6b1ded499405025104483534f97e4)
Igor Gnatenko 795680
---
Igor Gnatenko 795680
 data/macros.meson | 6 +-----
Igor Gnatenko 795680
 1 file changed, 1 insertion(+), 5 deletions(-)
Igor Gnatenko 795680
Igor Gnatenko 795680
diff --git a/data/macros.meson b/data/macros.meson
Igor Gnatenko 66003d
index 732b68d2..7be47895 100644
Igor Gnatenko 795680
--- a/data/macros.meson
Igor Gnatenko 795680
+++ b/data/macros.meson
Igor Gnatenko 66003d
@@ -2,11 +2,7 @@
Igor Gnatenko 66003d
 %__meson_wrap_mode nodownload
Igor Gnatenko 795680
 
Igor Gnatenko 795680
 %meson \
Igor Gnatenko 795680
-    export CFLAGS="${CFLAGS:-%__global_cflags}"       \
Igor Gnatenko 795680
-    export CXXFLAGS="${CXXFLAGS:-%__global_cxxflags}" \
Igor Gnatenko 795680
-    export FFLAGS="${FFLAGS:-%__global_fflags}"       \
Igor Gnatenko 795680
-    export FCFLAGS="${FCFLAGS:-%__global_fcflags}"    \
Igor Gnatenko 795680
-    export LDFLAGS="${LDFLAGS:-%__global_ldflags}"    \
Igor Gnatenko 795680
+    %set_build_flags \
Igor Gnatenko 795680
     %{__meson}                              \\\
Igor Gnatenko 795680
         --buildtype=plain                   \\\
Igor Gnatenko 795680
         --prefix=%{_prefix}                 \\\
Igor Gnatenko 795680
-- 
Igor Gnatenko 795680
2.18.0
Igor Gnatenko 795680