Commit Graph

4 Commits

Author SHA1 Message Date
Jean-Christophe Fillion-Robin
dc871beb50 linux-x86: Set emulator path using a "noop" script without argument.
This will fix issue where emulator is used doing:

  COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} /path/to/prog arg1 arg2

Prior to this commit, it wasn't working because the following command
was used:

  /bin/sh -c /path/to/prog arg1 arg2
2016-04-16 16:43:13 -04:00
Jean-Christophe Fillion-Robin
4ccd459994 linux-x86: Avoid CMake issue by not setting CMAKE_AR. It is automatically set.
It is automatically set in CMakeFindBinUtils.cmake using the value
of _CMAKE_TOOLCHAIN_PREFIX extracted from the compiler name within
CMakeDetermineCCompiler.cmake.

The CMake issue is #15448 - https://cmake.org/Bug/view.php?id=15448
2016-04-16 16:43:13 -04:00
Jean-Christophe Fillion-Robin
7527b8e6e3 linux-x86: Tweak toolchain comment associated with CMAKE_IGNORE_PATH 2016-04-15 03:29:07 -04:00
Jean-Christophe Fillion-Robin
f57b97b06b linux-x86: Add toolchain file and install libc6 and stdc++6 32-bit libraries 2016-04-13 19:54:28 -04:00