Skip to content

Commit

Permalink
Build: Add Linux i686 toolchain file
Browse files Browse the repository at this point in the history
This allows for easier cross-compiling of the 32-bit Linux binaries on
x64 systems.
  • Loading branch information
xycaleth committed Jul 11, 2015
1 parent fbdb7c9 commit 5c50fac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeModules/Toolchains/linux-i686.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR i686)

set(CMAKE_C_COMPILER_ARG1 -m32)
set(CMAKE_CXX_COMPILER_ARG1 -m32)

0 comments on commit 5c50fac

Please sign in to comment.