[Piglit] [PATCH] README: Fix instructions for cross-compiling on Linux

Chad Versace chad at chad-versace.us
Fri Sep 30 10:43:18 PDT 2011


CC: Paul Berry <stereotype441 at gmail.com>
Signed-off-by: Chad Versace <chad at chad-versace.us>
---
 README |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/README b/README
index 21511d4..5b7ed35 100644
--- a/README
+++ b/README
@@ -53,7 +53,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".
+add "-m32" to the C and C++ compiler flags. To do this, invoke cmake with
+options "-DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32".
 
 
 2.2 Ubuntu
-- 
1.7.6.2



More information about the Piglit mailing list