[Piglit] [PATCH] README: correct flags for 32-on-64 build

Constantine Charlamov Hi-Angel at yandex.ru
Fri Mar 3 04:24:47 UTC 2017


So far this is the only options I found to build 32-on-64. It supersedes
the prev. patch to README — turns out, replacing i386→x86 isn't enough.
The inconsistent resuls were because cmake retains options used for old
runs. This patch was tested by completely removing piglit, and git
cloning it againg.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100017
Signed-off-by: Constantine Charlamov <Hi-Angel at yandex.ru>
Supersedes: https://patchwork.freedesktop.org/patch/141700/
---
 README | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/README b/README
index 23ae46352..e6667abda 100644
--- a/README
+++ b/README
@@ -89,7 +89,8 @@ Now build everything:
 -------------------
 
 On Linux, if cross-compiling a 32-bit build on a 64-bit host, then you must
-invoke cmake with option "-DCMAKE_SYSTEM_PROCESSOR=i386".
+invoke cmake with options "-DCMAKE_SYSTEM_PROCESSOR=x86 -DCMAKE_C_FLAGS=-m32
+-DCMAKE_CXX_FLAGS=-m32".
 
 
 2.2 Ubuntu
-- 
2.11.1



More information about the Piglit mailing list