[GTK][CMake] Add support for building with Clang
[WebKit-https.git] / ChangeLog
index 88bdf56..6985a2d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2014-03-20  Zan Dobersek  <zdobersek@igalia.com>
+
+        [GTK][CMake] Add support for building with Clang
+        https://bugs.webkit.org/show_bug.cgi?id=130260
+
+        Reviewed by Martin Robinson.
+
+        * Source/PlatformGTK.cmake: Run the generate-gtkdoc script with the CFLAGS env set
+        to the list C compiler flags as constructed by CMake.
+        * Source/cmake/OptionsCommon.cmake: When building with Clang, use the -Qunused-arguments
+        compiler option to suppress verbose warnings about arguments that went unused by the driver.
+        * Source/cmake/OptionsGTK.cmake: Use -fno-omit-frame-pointer for both GCC and Clang.
+        -fno-tree-dce should be used only for GCC.
+        * Source/cmake/gtest/CMakeLists.txt: When building with Clang the GTest framework
+        should be built with GTEST_HAS_TR1_TUPLE macro defined to 0 to avoid build failures.
+
 2014-03-20  Commit Queue  <commit-queue@webkit.org>
 
         Unreviewed, rolling out r165962.