summaryrefslogtreecommitdiff
path: root/graphics/appleseed/files/patch-cmake_config_linux-gcc-clang.txt
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/appleseed/files/patch-cmake_config_linux-gcc-clang.txt')
-rw-r--r--graphics/appleseed/files/patch-cmake_config_linux-gcc-clang.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/appleseed/files/patch-cmake_config_linux-gcc-clang.txt b/graphics/appleseed/files/patch-cmake_config_linux-gcc-clang.txt
new file mode 100644
index 000000000000..239885b5b40d
--- /dev/null
+++ b/graphics/appleseed/files/patch-cmake_config_linux-gcc-clang.txt
@@ -0,0 +1,15 @@
+--- cmake/config/linux-gcc-clang.txt.orig 2019-08-31 15:49:01 UTC
++++ cmake/config/linux-gcc-clang.txt
+@@ -150,12 +150,6 @@ if (HIDE_SYMBOLS)
+ )
+ endif ()
+
+-# Release configuration.
+-set (c_compiler_flags_release
+- -O3 # optimization level
+- -fgcse-las # Eliminates stores followed by a load to the same positions.
+- -fgcse-sm # Moves load/save instructions out of loops, if possible.
+-)
+
+
+ #--------------------------------------------------------------------------------------------------