summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2024-02-08 13:10:29 -0500
committerDouglas Rumbaugh <dbr4@psu.edu>2024-02-08 13:15:51 -0500
commit0c4a80b90e1f25b42e00a8af57131040203d2f89 (patch)
treeadc5608a1b374ab9d2b8888e199a6495b5d66839 /CMakeLists.txt
parentded1f979d101a5df37a65370f6c18803212edb66 (diff)
downloaddynamic-extension-0c4a80b90e1f25b42e00a8af57131040203d2f89.tar.gz
Added compiler fence to block reordering
I'm reasonably certain that this is a compiler bug...
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5f77396..be0fb15 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
set(namespace "de")
project("Practical Dynamic Extension" VERSION 0.1.0)
-set(debug true)
+set(debug false)
set(tests True)
set(bench true)
set(old_bench False)
@@ -25,7 +25,7 @@ if (debug)
add_compile_options(-fsanitize=undefined)
add_link_options(-fsanitize=undefined)
else()
- add_compile_options(-g -O3)
+ add_compile_options(-O3)
endif()
# Test build instructions