SHA256
3
0
forked from pool/rpm
Michael Schröder 2019-06-13 14:24:14 +00:00 committed by Git OBS Bridge
parent bad7233d87
commit 7f9a154e3c
3 changed files with 7 additions and 7 deletions

View File

@ -50,11 +50,11 @@ index 2ab108776..b6cb52951 100644
- CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \ - CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
- CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \ - CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
- FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \ - FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
+ CFLAGS="${CFLAGS:-%{build_cflags}}" ; export CFLAGS ; \ + CFLAGS="${CFLAGS:-%{?build_cflags}}" ; export CFLAGS ; \
+ CXXFLAGS="${CXXFLAGS:-%{build_cxxflags}}" ; export CXXFLAGS ; \ + CXXFLAGS="${CXXFLAGS:-%{?build_cxxflags}}" ; export CXXFLAGS ; \
+ FFLAGS="${FFLAGS:-%{build_fflags}}" ; export FFLAGS ; \ + FFLAGS="${FFLAGS:-%{?build_fflags}}" ; export FFLAGS ; \
+ FCFLAGS="${FCFLAGS:-%{build_fflags}}" ; export FCFLAGS ; \ + FCFLAGS="${FCFLAGS:-%{?build_fflags}}" ; export FCFLAGS ; \
+ LDFLAGS="${LDFLAGS:-%{build_ldflags}}" ; export LDFLAGS ; \ + LDFLAGS="${LDFLAGS:-%{?build_ldflags}}" ; export LDFLAGS ; \
%{_configure} --host=%{_host} --build=%{_build} \\\ %{_configure} --host=%{_host} --build=%{_build} \\\
--program-prefix=%{?_program_prefix} \\\ --program-prefix=%{?_program_prefix} \\\
--disable-dependency-tracking \\\ --disable-dependency-tracking \\\

View File

@ -13,7 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #