[packages/automake] - fix building on x32 - rel 2

baggins baggins at pld-linux.org
Sun May 10 11:10:43 CEST 2015


commit 5e64d72bf5e7f27f25b0748374e52d36f3fbb4db
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun May 10 11:10:23 2015 +0200

    - fix building on x32
    - rel 2

 automake.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/automake.spec b/automake.spec
index 47076df..9f0ac12 100644
--- a/automake.spec
+++ b/automake.spec
@@ -15,7 +15,7 @@ Summary(tr.UTF-8):	Makefile yapılandırma araçları
 Summary(uk.UTF-8):	GNU automake - інструменти для автоматичної генерації Makefile'ів
 Name:		automake
 Version:	1.15
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL v2+
 Group:		Development/Building
@@ -127,8 +127,13 @@ ln -s ../m4/[!a]*.m4 ../m4/a[!m]*.m4 .
 # NOTE: _target macro becames "noarch" if ./builder passes --target=noarch, so
 # be sure use plain /usr/bin/rpmbuild.
 %configure \
+%if %{_host_cpu} == "x32"
+	--host=%{_target_platform} \
+	--build=%{_target_platform}
+%else
 	--host=%{_host} \
 	--build=%{_host}
+%endif
 %{__make}
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/automake.git/commitdiff/5e64d72bf5e7f27f25b0748374e52d36f3fbb4db



More information about the pld-cvs-commit mailing list