[redhat-rpm-config: 142/215] Don't set --target in %configure (#458648) - --target is only ever useful for handful of compiler to
Panu Matilainen
pmatilai at fedoraproject.org
Wed Apr 2 10:30:19 UTC 2014
commit c9d2ffe12342fb6dee7d45584a986cc049fb9a01
Author: Panu Matilainen <pmatilai at redhat.com>
Date: Fri Jan 22 15:39:38 2010 +0200
Don't set --target in %configure (#458648)
- --target is only ever useful for handful of compiler toolchain packages
and cross-compiler packages are better off setting it themselves if
necessary, rpm messing here only gets in the way
- patch originally from Stepan Kasal
macros | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/macros b/macros
index 6c7d7ef..e8087bc 100644
--- a/macros
+++ b/macros
@@ -33,7 +33,6 @@
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags -I%_fmoddir}" ; export FFLAGS ; \
%{_configure} --build=%{_build} --host=%{_host} \\\
- --target=%{_target_platform} \\\
--program-prefix=%{?_program_prefix} \\\
--prefix=%{_prefix} \\\
--exec-prefix=%{_exec_prefix} \\\
More information about the scm-commits
mailing list