diff options
author | jpakkane <jpakkane@gmail.com> | 2015-03-21 14:25:42 +0200 |
---|---|---|
committer | jpakkane <jpakkane@gmail.com> | 2015-03-21 14:25:42 +0200 |
commit | a5f30e73c626b4c9284a390669322317a07a6f91 (patch) | |
tree | 3c8f68dabeca71ae7e0b51c71d2daefec8ad0c64 /macros.meson | |
parent | dd519525ecfc6253b2472b6810213568f05a5c4b (diff) | |
parent | b71d248b28203a294ba6e3ba32ed9c6d36d3209b (diff) | |
download | meson-a5f30e73c626b4c9284a390669322317a07a6f91.zip meson-a5f30e73c626b4c9284a390669322317a07a6f91.tar.gz meson-a5f30e73c626b4c9284a390669322317a07a6f91.tar.bz2 |
Merge pull request #52 from ignatenkobrain/wip/rpm
add RPM module (Closes #49)
Diffstat (limited to 'macros.meson')
-rw-r--r-- | macros.meson | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/macros.meson b/macros.meson new file mode 100644 index 0000000..42ad949 --- /dev/null +++ b/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 |