aboutsummaryrefslogtreecommitdiff
path: root/data/macros.meson
blob: 1da409c103a5a60c39a00a980575f8459b0f0f56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
%__meson /usr/bin/meson

%meson() %{expand:\
  CFLAGS="%{optflags}" ; \
  CXXFLAGS="%{optflags}" ; \
  FFLAGS="%{optflags} -I%{_fmoddir}" ; \
  FCFLAGS="%{optflags} -I%{_fmoddir}" ; \
  LDFLAGS="%{__global_ldflags}" ; \
  %__meson %{?1} \\\
        --prefix=%{_prefix} \\\
        --buildtype=plain \
}