SHA256
1
0
forked from pool/meson
meson/meson-suse-ify-macros.patch

24 lines
936 B
Diff
Raw Normal View History

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} \\\