aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2020-01-16 19:13:15 +0200
committerJani Välimaa <wally@mageia.org>2020-01-16 19:13:15 +0200
commitf8280d3cd69710d5f6e5bf80bb44900a8ebe46de (patch)
treec15502aa541dbf80144127cee17dbd4003dda15a /build.macros.in
parente55cbefbb04d619e35d598b4d67c1be6bedafa9a (diff)
downloadrpm-setup-f8280d3cd69710d5f6e5bf80bb44900a8ebe46de.tar
rpm-setup-f8280d3cd69710d5f6e5bf80bb44900a8ebe46de.tar.gz
rpm-setup-f8280d3cd69710d5f6e5bf80bb44900a8ebe46de.tar.bz2
rpm-setup-f8280d3cd69710d5f6e5bf80bb44900a8ebe46de.tar.xz
rpm-setup-f8280d3cd69710d5f6e5bf80bb44900a8ebe46de.zip
build.macros: sync configure macro with rpm upstream
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/build.macros.in b/build.macros.in
index 3256813..3981550 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -222,12 +222,13 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o
%{__fix_libtool_from_moving_options_after_libs} $CONFIGURE_TOP ; \
%{__fix_dlsearch_path_in_libtool_for_multilib} $CONFIGURE_TOP %{_lib}
-# This is an improved version of %configure (from PLD team).
+# This is an improved version of %configure (originally from PLD team).
+%_configure $CONFIGURE_TOP/configure
%configure \
- %before_configure ; \
- $CONFIGURE_TOP/configure --build=%{_build} \\\
- %{?_program_prefix:--program-prefix=%{_program_prefix}} \\\
- --prefix=%{_prefix} \\\
+ %{before_configure}; \
+ %{_configure} --host=%{_host} --build=%{_build}
+ --program-prefix=%{?_program_prefix} \\\
+ --disable-dependency-tracking \\\
--exec-prefix=%{_exec_prefix} \\\
--bindir=%{_bindir} \\\
--sbindir=%{_sbindir} \\\