aboutsummaryrefslogtreecommitdiff
path: root/data/macros.meson
diff options
context:
space:
mode:
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>2015-10-30 16:50:26 +0100
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>2015-10-30 16:57:23 +0100
commite96a31cce4bec7e734ef56624212441e4702cf0e (patch)
treee1ac66489e7f20558c38b620954db4daf245a8c3 /data/macros.meson
parent096290912046f65008c16bc14b13c6c9b700749b (diff)
downloadmeson-e96a31cce4bec7e734ef56624212441e4702cf0e.zip
meson-e96a31cce4bec7e734ef56624212441e4702cf0e.tar.gz
meson-e96a31cce4bec7e734ef56624212441e4702cf0e.tar.bz2
rpm macros: export *FLAGS
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'data/macros.meson')
-rw-r--r--data/macros.meson10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/macros.meson b/data/macros.meson
index 1da409c..8aa5555 100644
--- a/data/macros.meson
+++ b/data/macros.meson
@@ -1,11 +1,11 @@
%__meson /usr/bin/meson
%meson() %{expand:\
- CFLAGS="%{optflags}" ; \
- CXXFLAGS="%{optflags}" ; \
- FFLAGS="%{optflags} -I%{_fmoddir}" ; \
- FCFLAGS="%{optflags} -I%{_fmoddir}" ; \
- LDFLAGS="%{__global_ldflags}" ; \
+ export CFLAGS="%{optflags}" ; \
+ export CXXFLAGS="%{optflags}" ; \
+ export FFLAGS="%{optflags} -I%{_fmoddir}" ; \
+ export FCFLAGS="%{optflags} -I%{_fmoddir}" ; \
+ export LDFLAGS="%{__global_ldflags}" ; \
%__meson %{?1} \\\
--prefix=%{_prefix} \\\
--buildtype=plain \