summaryrefslogtreecommitdiff
path: root/cmake/x86-64-toolchain.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/x86-64-toolchain.cmake')
-rw-r--r--cmake/x86-64-toolchain.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/x86-64-toolchain.cmake b/cmake/x86-64-toolchain.cmake
new file mode 100644
index 000000000..e94f1ee98
--- /dev/null
+++ b/cmake/x86-64-toolchain.cmake
@@ -0,0 +1,5 @@
+# Rename this file to x86-64-toolchain.cmake
+
+# Set baseline x86-64 flags for maximum compatibility
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=x86-64" CACHE STRING "C flags")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=x86-64" CACHE STRING "C++ flags") \ No newline at end of file