aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/toolchains
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--toolchains/gcc-x64.cmake4
-rw-r--r--toolchains/gcc-x86.cmake4
2 files changed, 8 insertions, 0 deletions
diff --git a/toolchains/gcc-x64.cmake b/toolchains/gcc-x64.cmake
new file mode 100644
index 0000000..2f7019e
--- /dev/null
+++ b/toolchains/gcc-x64.cmake
@@ -0,0 +1,4 @@
+set(CMAKE_C_COMPILER gcc)
+set(CMAKE_C_FLAGS -m64)
+set(CMAKE_CXX_COMIPLER g++)
+set(CMAKE_CXX_FLAGS -m64)
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)