From f2e3413ddb57dd005d6dadfd8c9fe4e8cba01a66 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Fri, 22 Jan 2010 15:34:07 +0200 Subject: [PATCH] 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... --- macros | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macros b/macros index 67fc683..6c7d7ef 100644 --- a/macros +++ b/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} \\\