commit d80e5df1c2c67ec31f0a54293e1a72bdc7e4c7e5
Author: Jan RÄ™korajski <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to