Title: [184849] trunk
Revision
184849
Author
[email protected]
Date
2015-05-24 23:55:01 -0700 (Sun, 24 May 2015)

Log Message

[GTK] Bump GCC requirements to 4.9.0
https://bugs.webkit.org/show_bug.cgi?id=145211

Reviewed by Žan Doberšek.

It's required to build with IndexedDB support when using GCC,
clang works just fine. See https://bugs.webkit.org/show_bug.cgi?id=98932.

* Source/cmake/OptionsGTK.cmake:

Modified Paths

Diff

Modified: trunk/ChangeLog (184848 => 184849)


--- trunk/ChangeLog	2015-05-25 03:51:17 UTC (rev 184848)
+++ trunk/ChangeLog	2015-05-25 06:55:01 UTC (rev 184849)
@@ -1,3 +1,15 @@
+2015-05-24  Carlos Garcia Campos  <[email protected]>
+
+        [GTK] Bump GCC requirements to 4.9.0
+        https://bugs.webkit.org/show_bug.cgi?id=145211
+
+        Reviewed by Žan Doberšek.
+
+        It's required to build with IndexedDB support when using GCC,
+        clang works just fine. See https://bugs.webkit.org/show_bug.cgi?id=98932.
+
+        * Source/cmake/OptionsGTK.cmake:
+
 2015-05-18  Michael Catanzaro  <[email protected]>
 
         [CMake] Ignore warnings in system headers

Modified: trunk/Source/cmake/OptionsGTK.cmake (184848 => 184849)


--- trunk/Source/cmake/OptionsGTK.cmake	2015-05-25 03:51:17 UTC (rev 184848)
+++ trunk/Source/cmake/OptionsGTK.cmake	2015-05-25 06:55:01 UTC (rev 184849)
@@ -7,6 +7,13 @@
 set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_MICRO})
 set(WEBKITGTK_API_VERSION 4.0)
 
+# IndexedDB support requires GCC 4.9, see https://bugs.webkit.org/show_bug.cgi?id=98932.
+if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
+    if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.9.0")
+        message(FATAL_ERROR "GCC 4.9.0 is required to build WebKitGTK+, use a newer GCC version or clang")
+    endif ()
+endif ()
+
 # Libtool library version, not to be confused with API version.
 # See http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html
 CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(WEBKIT2 44 0 7)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to