Hi all,
I want to build 32-bit binaries on a 64-bit Linux system, with gcc.
In projects that use configure, this is easy:
export CFLAGS=-m32
But how can I do the same with cmake projects?
cmake does not seem to use CFLAGS. Is there a variable I can define when
I run cmake, to pass the -m32 flag to gcc?
George
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake