aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-03-23 18:20:42 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-03-23 18:20:42 +0200
commiteed0e7d9f627ee1efd41517f44fd4907164684f1 (patch)
tree88bee342233c5d6ae6f080a1a61e0d4db765d6e7 /data
parent5222fb9226b52d4eed28d4bc23edd6de97d4f8fb (diff)
downloadmeson-eed0e7d9f627ee1efd41517f44fd4907164684f1.zip
meson-eed0e7d9f627ee1efd41517f44fd4907164684f1.tar.gz
meson-eed0e7d9f627ee1efd41517f44fd4907164684f1.tar.bz2
Moved rpm macros to a subdirectory to reduce clutter.
Diffstat (limited to 'data')
-rw-r--r--data/macros.meson11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/macros.meson b/data/macros.meson
new file mode 100644
index 0000000..42ad949
--- /dev/null
+++ b/data/macros.meson
@@ -0,0 +1,11 @@
+%__meson /usr/bin/meson
+
+%meson \
+ CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
+ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
+ FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ; \
+ FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS ; \
+ %{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
+ %__meson \\\
+ --prefix=%{_prefix} \\\
+ --buildtype=plain