From 644cc32aaf1b26eb2b92bbd02566fea99f3d9897 Mon Sep 17 00:00:00 2001 From: Christian Giese Date: Sun, 19 Nov 2023 08:06:16 +0000 Subject: [PATCH] remove -m64 (#216) --- code/bngblaster/CMakeLists.txt | 2 +- code/lspgen/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/bngblaster/CMakeLists.txt b/code/bngblaster/CMakeLists.txt index 60624929..c1ea7890 100644 --- a/code/bngblaster/CMakeLists.txt +++ b/code/bngblaster/CMakeLists.txt @@ -65,7 +65,7 @@ endif() if(BNGBLASTER_CPU_NATIVE) target_compile_options(bngblaster PRIVATE -Werror -Wall -Wextra -Wno-deprecated-declarations -pedantic -march=native -mtune=native) ELSE() - target_compile_options(bngblaster PRIVATE -Werror -Wall -Wextra -Wno-deprecated-declarations -pedantic -m64 -mtune=generic) + target_compile_options(bngblaster PRIVATE -Werror -Wall -Wextra -Wno-deprecated-declarations -pedantic -mtune=generic) ENDIF() # Optional IPO. Do not use IPO if it's not supported by compiler. diff --git a/code/lspgen/CMakeLists.txt b/code/lspgen/CMakeLists.txt index d4686449..ffce92e3 100644 --- a/code/lspgen/CMakeLists.txt +++ b/code/lspgen/CMakeLists.txt @@ -19,7 +19,7 @@ endif() if(BNGBLASTER_CPU_NATIVE) target_compile_options(lspgen PRIVATE -Werror -Wall -Wextra -Wno-deprecated-declarations -pedantic -march=native -mtune=native) else() - target_compile_options(lspgen PRIVATE -Werror -Wall -Wextra -Wno-deprecated-declarations -pedantic -m64 -mtune=generic) + target_compile_options(lspgen PRIVATE -Werror -Wall -Wextra -Wno-deprecated-declarations -pedantic -mtune=generic) endif() # Optional IPO. Do not use IPO if it's not supported by compiler.