]> git.pld-linux.org Git - packages/gmock.git/commitdiff
- use host_cpu to find out target platform
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 22 Nov 2015 21:27:52 +0000 (22:27 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 22 Nov 2015 21:27:52 +0000 (22:27 +0100)
gmock.spec

index 5f6c500ed173f599d12a7fddbcbae56492c92afe..4acb32b09f82662563bf62c6f754dae48c4fbbf6 100644 (file)
@@ -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}
This page took 0.11394 seconds and 4 git commands to generate.