Title: [211635] trunk
Revision
211635
Author
annu...@yandex.ru
Date
2017-02-03 09:21:21 -0800 (Fri, 03 Feb 2017)

Log Message

[CMake] RelWithDebInfo builds are super broken at runtime
https://bugs.webkit.org/show_bug.cgi?id=163897

Reviewed by Michael Catanzaro.

* Source/cmake/OptionsCommon.cmake: Apply -fno-strict-aliasing,
-fno-exceptions, and -fno-rtti flags to all configurations,
instead of only "Release".

Modified Paths

Diff

Modified: trunk/ChangeLog (211634 => 211635)


--- trunk/ChangeLog	2017-02-03 17:11:16 UTC (rev 211634)
+++ trunk/ChangeLog	2017-02-03 17:21:21 UTC (rev 211635)
@@ -1,3 +1,14 @@
+2017-02-03  Konstantin Tokarev  <annu...@yandex.ru>
+
+        [CMake] RelWithDebInfo builds are super broken at runtime
+        https://bugs.webkit.org/show_bug.cgi?id=163897
+
+        Reviewed by Michael Catanzaro.
+
+        * Source/cmake/OptionsCommon.cmake: Apply -fno-strict-aliasing,
+        -fno-exceptions, and -fno-rtti flags to all configurations,
+        instead of only "Release".
+
 2017-02-03  Carlos Garcia Campos  <cgar...@igalia.com>
 
         [GTK] Add initial implementation of resource usage overlay

Modified: trunk/Source/cmake/OptionsCommon.cmake (211634 => 211635)


--- trunk/Source/cmake/OptionsCommon.cmake	2017-02-03 17:11:16 UTC (rev 211634)
+++ trunk/Source/cmake/OptionsCommon.cmake	2017-02-03 17:21:21 UTC (rev 211635)
@@ -38,8 +38,8 @@
 define_property(TARGET PROPERTY FOLDER INHERITED BRIEF_DOCS "folder" FULL_DOCS "IDE folder name")
 
 if (COMPILER_IS_GCC_OR_CLANG)
-    set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-exceptions -fno-strict-aliasing")
-    set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-exceptions -fno-strict-aliasing -fno-rtti")
+    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-exceptions -fno-strict-aliasing")
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions -fno-strict-aliasing -fno-rtti")
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y")
 endif ()
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to