diff options
-rw-r--r-- | modules/rpm.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/rpm.py b/modules/rpm.py index 422d132..8513339 100644 --- a/modules/rpm.py +++ b/modules/rpm.py @@ -112,12 +112,7 @@ class RPMModule: fn.write('\n') fn.write('%build\n') fn.write('pushd rpmbuilddir\n') - fn.write(' CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS\n') - fn.write(' CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS\n') - fn.write(' FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS\n') - fn.write(' FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS\n') - fn.write(' %{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;}\n') - fn.write(' meson .. --buildtype=plain --prefix=%{_prefix}\n') + fn.write(' %meson ..\n') fn.write(' ninja-build -v\n') fn.write('popd\n') fn.write('\n') |