Title: [288624] trunk
Revision
288624
Author
ape...@igalia.com
Date
2022-01-26 09:49:19 -0800 (Wed, 26 Jan 2022)

Log Message

[CMake] Pass -pipe to compilers that support it
https://bugs.webkit.org/show_bug.cgi?id=235641

Reviewed by Darin Adler.

* Source/cmake/WebKitCompilerFlags.cmake: Add -pipe to compiler options where supported.

Modified Paths

Diff

Modified: trunk/ChangeLog (288623 => 288624)


--- trunk/ChangeLog	2022-01-26 17:41:07 UTC (rev 288623)
+++ trunk/ChangeLog	2022-01-26 17:49:19 UTC (rev 288624)
@@ -1,3 +1,12 @@
+2022-01-26  Adrian Perez de Castro  <ape...@igalia.com>
+
+        [CMake] Pass -pipe to compilers that support it
+        https://bugs.webkit.org/show_bug.cgi?id=235641
+
+        Reviewed by Darin Adler.
+
+        * Source/cmake/WebKitCompilerFlags.cmake: Add -pipe to compiler options where supported.
+
 2022-01-25  Myles C. Maxfield  <mmaxfi...@apple.com>
 
         Add another test for locale-specific shaping

Modified: trunk/Source/cmake/WebKitCompilerFlags.cmake (288623 => 288624)


--- trunk/Source/cmake/WebKitCompilerFlags.cmake	2022-01-26 17:41:07 UTC (rev 288623)
+++ trunk/Source/cmake/WebKitCompilerFlags.cmake	2022-01-26 17:49:19 UTC (rev 288624)
@@ -164,6 +164,10 @@
             message(FATAL_ERROR "SSE2 support is required to compile WebKit")
         endif ()
     endif ()
+
+    # Makes builds faster. The GCC manual warns about the possibility that the assembler being
+    # used may not support input from a pipe, but in practice the toolchains we support all do.
+    WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-pipe)
 endif ()
 
 if (COMPILER_IS_GCC_OR_CLANG AND NOT MSVC)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to