2017-03-04 17:03:41 +01:00
|
|
|
Index: meson-0.38.1/data/macros.meson
|
2017-01-10 17:34:08 +01:00
|
|
|
===================================================================
|
2017-03-04 17:03:41 +01:00
|
|
|
--- meson-0.38.1.orig/data/macros.meson
|
|
|
|
+++ meson-0.38.1/data/macros.meson
|
|
|
|
@@ -1,11 +1,13 @@
|
2017-01-10 17:34:08 +01:00
|
|
|
%__meson %{_bindir}/meson
|
|
|
|
+%_vpath_srcdir .
|
|
|
|
+%_vpath_builddir build
|
|
|
|
|
|
|
|
%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}" \
|
2017-03-04 17:03:41 +01:00
|
|
|
+ export LANG=C.UTF-8 \
|
2017-01-10 17:34:08 +01:00
|
|
|
+ export CFLAGS="${CFLAGS:-%optflags}" \
|
|
|
|
+ export CXXFLAGS="${CXXFLAGS:-%optflags}" \
|
|
|
|
+ export FFLAGS="${FFLAGS:-%optflags}" \
|
|
|
|
+ export FCFLAGS="${FCFLAGS:-%optflags}" \
|
|
|
|
%{__meson} \\\
|
|
|
|
--buildtype=plain \\\
|
|
|
|
--prefix=%{_prefix} \\\
|