aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/toolchains/gcc-x86.cmake
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--toolchains/gcc-x86.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchains/gcc-x86.cmake b/toolchains/gcc-x86.cmake
new file mode 100644
index 0000000..e2e84be
--- /dev/null
+++ b/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)