Title: [189179] trunk
- Revision
- 189179
- Author
- [email protected]
- Date
- 2015-08-31 13:28:13 -0700 (Mon, 31 Aug 2015)
Log Message
[CMake] Build with Debug Fission on by default on Debug builds.
https://bugs.webkit.org/show_bug.cgi?id=148639
Reviewed by Martin Robinson.
* Source/cmake/OptionsCommon.cmake:
Modified Paths
Diff
Modified: trunk/ChangeLog (189178 => 189179)
--- trunk/ChangeLog 2015-08-31 18:40:24 UTC (rev 189178)
+++ trunk/ChangeLog 2015-08-31 20:28:13 UTC (rev 189179)
@@ -1,3 +1,12 @@
+2015-08-31 Carlos Alberto Lopez Perez <[email protected]>
+
+ [CMake] Build with Debug Fission on by default on Debug builds.
+ https://bugs.webkit.org/show_bug.cgi?id=148639
+
+ Reviewed by Martin Robinson.
+
+ * Source/cmake/OptionsCommon.cmake:
+
2015-08-29 Alex Christensen <[email protected]>
Unreviewed build fix after r179923.
Modified: trunk/Source/cmake/OptionsCommon.cmake (189178 => 189179)
--- trunk/Source/cmake/OptionsCommon.cmake 2015-08-31 18:40:24 UTC (rev 189178)
+++ trunk/Source/cmake/OptionsCommon.cmake 2015-08-31 20:28:13 UTC (rev 189179)
@@ -79,10 +79,17 @@
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=gold -Wl,--disable-new-dtags")
else ()
message(WARNING "GNU gold linker isn't available, using the default system linker.")
+ set(USE_LD_GOLD OFF)
endif ()
endif ()
-option(DEBUG_FISSION "Use Debug Fission support")
+set(ENABLE_DEBUG_FISSION_DEFAULT OFF)
+if (USE_LD_GOLD AND CMAKE_BUILD_TYPE STREQUAL "Debug")
+ set(ENABLE_DEBUG_FISSION_DEFAULT ON)
+endif ()
+
+option(DEBUG_FISSION "Use Debug Fission support" ${ENABLE_DEBUG_FISSION_DEFAULT})
+
if (DEBUG_FISSION)
if (NOT USE_LD_GOLD)
message(FATAL_ERROR "Need GNU gold linker for Debug Fission support")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes