From 75ff3cbba9b44a357af0e24ec99a0c28fcdf8d43 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sat, 28 Dec 2024 13:42:00 +1100 Subject: [PATCH] Update CMakeLists.txt --- source/core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)