summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoronelin <oscar@nelin.dk>2025-03-15 19:07:35 +0000
committeronelin <oscar@nelin.dk>2025-03-15 19:07:35 +0000
commit739ed32d266aaee217797f6a209efa7f05568c64 (patch)
tree743379269f76b9985715c5f7fe5bec1bd42dabe0
parent1f2b1656afdbe2209169944cf1305b95f0647c04 (diff)
Target 64-bit architechture
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5812e5c..1bf9871 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -61,9 +61,9 @@ if(DAW_BUILD_UBSAN AND DAW_BUILD_ASAN)
endif()
if(DAW_BUILD_DEBUG)
- set(BUILD_OPTS -Og -ggdb3 -fno-omit-frame-pointer)
+ set(BUILD_OPTS -m64 -Og -ggdb3 -fno-omit-frame-pointer)
else()
- set(BUILD_OPTS -O2 -flto=auto -fuse-linker-plugin -ffat-lto-objects
+ set(BUILD_OPTS -m64 -O2 -flto=auto -fuse-linker-plugin -ffat-lto-objects
-funroll-loops -ffast-math -fno-signed-zeros -fno-trapping-math
-ffunction-sections -fdata-sections)
endif()