forked from pool/meson
09460fff36
- Update to version 0.38.1: + New Uninstall target. + Support for arbitrary test setups. + Intel C/C++ compiler support. + Get values from configuration data objects. + Python 3 module support simplified. + Default options to subprojects. + Set targets to be built (or not) by default. + Add option to mesonconf to wipe cached data. + Can specify file permissions and owner when installing data. + has_header() checks are now faster. + Array indexing now supports fallback values. + Silent mode for Mesontest. - Rebase meson-suse-ify-macros.patch. tests in many different ways. OBS-URL: https://build.opensuse.org/request/show/476924 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=30
24 lines
936 B
Diff
24 lines
936 B
Diff
Index: meson-0.38.1/data/macros.meson
|
|
===================================================================
|
|
--- meson-0.38.1.orig/data/macros.meson
|
|
+++ meson-0.38.1/data/macros.meson
|
|
@@ -1,11 +1,13 @@
|
|
%__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}" \
|
|
+ export LANG=C.UTF-8 \
|
|
+ export CFLAGS="${CFLAGS:-%optflags}" \
|
|
+ export CXXFLAGS="${CXXFLAGS:-%optflags}" \
|
|
+ export FFLAGS="${FFLAGS:-%optflags}" \
|
|
+ export FCFLAGS="${FCFLAGS:-%optflags}" \
|
|
%{__meson} \\\
|
|
--buildtype=plain \\\
|
|
--prefix=%{_prefix} \\\
|