Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-12-28 13:42:00 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-12-28 13:42:00 +1100
commit75ff3cbba9b44a357af0e24ec99a0c28fcdf8d43 (patch)
treebc981bffe1d73bc9a7ce30616b104a6ab909adc6 /source/core
parent6b49f382e3a9429e97bc47a9b3c18c3ca8feb65c (diff)
Update CMakeLists.txt
Diffstat (limited to 'source/core')
-rw-r--r--source/core/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/CMakeLists.txt b/source/core/CMakeLists.txt
index 6deb473..16cf576 100644
--- a/source/core/CMakeLists.txt
+++ b/source/core/CMakeLists.txt
@@ -232,7 +232,7 @@ IF(STAR_PRECOMPILED_HEADERS)
ENDIF()
IF(STAR_COMPILER STREQUAL "gnu")
- SET_SOURCE_FILES_PROPERTIES(StarImageScaling.cpp PROPERTIES COMPILE_FLAGS "-O2")
+ SET_SOURCE_FILES_PROPERTIES(StarImageScaling.cpp PROPERTIES COMPILE_FLAGS "-O2 -fno-trapping-math -fno-unsafe-math-optimizations")
ENDIF()
IF(STAR_USE_JEMALLOC AND JEMALLOC_IS_PREFIXED)