From 739ed32d266aaee217797f6a209efa7f05568c64 Mon Sep 17 00:00:00 2001 From: onelin Date: Sat, 15 Mar 2025 20:07:35 +0100 Subject: Target 64-bit architechture --- CMakeLists.txt | 4 ++-- 1 file 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() -- cgit v1.3