From 99070beec4a6b1ded499405025104483534f97e4 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 23 Jul 2018 19:25:30 +0200 Subject: rpm: use %set_build_flags [skip ci] It has better name and should do the trick. Signed-off-by: Igor Gnatenko --- data/macros.meson | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'data/macros.meson') 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} \\\ -- cgit v1.1