aboutsummaryrefslogtreecommitdiff
path: root/data/macros.meson
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2018-07-23 19:25:30 +0200
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>2018-07-25 12:52:59 +0200
commit99070beec4a6b1ded499405025104483534f97e4 (patch)
tree2ca4b77c4c3e38f0b95c551efe8ba6ab3c275496 /data/macros.meson
parent9e8566a27710cb46603fafd69edcecbcf35a9dde (diff)
downloadmeson-99070beec4a6b1ded499405025104483534f97e4.zip
meson-99070beec4a6b1ded499405025104483534f97e4.tar.gz
meson-99070beec4a6b1ded499405025104483534f97e4.tar.bz2
rpm: use %set_build_flags [skip ci]
It has better name and should do the trick. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'data/macros.meson')
-rw-r--r--data/macros.meson6
1 files changed, 1 insertions, 5 deletions
diff --git a/data/macros.meson b/data/macros.meson
index 732b68d..7be4789 100644
--- a/data/macros.meson
+++ b/data/macros.meson
@@ -2,11 +2,7 @@
%__meson_wrap_mode nodownload
%meson \
- export CFLAGS="${CFLAGS:-%__global_cflags}" \
- export CXXFLAGS="${CXXFLAGS:-%__global_cxxflags}" \
- export FFLAGS="${FFLAGS:-%__global_fflags}" \
- export FCFLAGS="${FCFLAGS:-%__global_fcflags}" \
- export LDFLAGS="${LDFLAGS:-%__global_ldflags}" \
+ %set_build_flags \
%{__meson} \\\
--buildtype=plain \\\
--prefix=%{_prefix} \\\