[packages/gmock] - use host_cpu to find out target platform

baggins baggins at pld-linux.org
Sun Nov 22 22:28:10 CET 2015


commit d80e5df1c2c67ec31f0a54293e1a72bdc7e4c7e5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Nov 22 22:27:52 2015 +0100

    - use host_cpu to find out target platform

 gmock.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gmock.spec b/gmock.spec
index 5f6c500..4acb32b 100644
--- a/gmock.spec
+++ b/gmock.spec
@@ -20,7 +20,7 @@ BuildRequires:	sed >= 4.0
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%ifarch x32
+%if %{_host_cpu} == "x32"
 %define	build_arch %{_target_platform}
 %else
 %define	build_arch %{_host}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gmock.git/commitdiff/d80e5df1c2c67ec31f0a54293e1a72bdc7e4c7e5



More information about the pld-cvs-commit mailing list