meson/meson-0.45.1-rpm-macros.path

29 lines
1.1 KiB
SYSTEMD
Raw Normal View History

--- meson-0.45.1/data/macros.meson.orig 2018-03-22 15:23:16.000000000 +0100
+++ meson-0.45.1/data/macros.meson 2018-03-29 15:53:59.659386285 +0200
@@ -2,11 +2,11 @@
%__meson_wrap_mode nodownload
%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 CFLAGS="${CFLAGS:-%optflags}" \
+ export CXXFLAGS="${CXXFLAGS:-%optflags}" \
+ export FFLAGS="${FFLAGS:-%optflags}" \
+ export FCFLAGS="${FCFLAGS}" \
+ export LDFLAGS="${LDFLAGS}" \
%{__meson} \\\
--buildtype=plain \\\
--prefix=%{_prefix} \\\
@@ -23,7 +23,7 @@
--localstatedir=%{_localstatedir} \\\
--sharedstatedir=%{_sharedstatedir} \\\
--wrap-mode=%{__meson_wrap_mode} \\\
- %{_vpath_srcdir} %{_vpath_builddir} \\\
+ . build \\\
%{nil}
%meson_build \