aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cmake/toolchains/gcc-x86.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/toolchains/gcc-x86.cmake')
-rw-r--r--cmake/toolchains/gcc-x86.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/toolchains/gcc-x86.cmake b/cmake/toolchains/gcc-x86.cmake
new file mode 100644
index 0000000..e2e84be
--- /dev/null
+++ b/cmake/toolchains/gcc-x86.cmake
@@ -0,0 +1,4 @@
+set(CMAKE_C_COMPILER gcc)
+set(CMAKE_C_FLAGS -m32)
+set(CMAKE_CXX_COMIPLER g++)
+set(CMAKE_CXX_FLAGS -m32)