Enable overriding the default ./configure path of %configure (#489942)
- syncs up with rpm upstream setup - FFLAGS has a Fedora-specific override forcing us to carry this %configure copy, need to fix rpm to permit more fine-grained overrides...
This commit is contained in:
parent
b5b2aedbc1
commit
f2e3413ddb
3
macros
3
macros
@ -27,11 +27,12 @@
|
||||
#==============================================================================
|
||||
# ---- configure and makeinstall.
|
||||
#
|
||||
%_configure ./configure
|
||||
%configure \
|
||||
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
|
||||
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
|
||||
FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
|
||||
./configure --build=%{_build} --host=%{_host} \\\
|
||||
%{_configure} --build=%{_build} --host=%{_host} \\\
|
||||
--target=%{_target_platform} \\\
|
||||
--program-prefix=%{?_program_prefix} \\\
|
||||
--prefix=%{_prefix} \\\
|
||||
|
Loading…
Reference in New Issue
Block a user