Title: [290727] trunk
- Revision
- 290727
- Author
- [email protected]
- Date
- 2022-03-02 07:03:58 -0800 (Wed, 02 Mar 2022)
Log Message
[CMake] Build failure with libstdc++ (>= 6) when cross-compiling (fatal error: stdlib.h: No such file or directory)
https://bugs.webkit.org/show_bug.cgi?id=161697
<rdar://problem/89613152>
Reviewed by Carlos Garcia Campos.
* Source/cmake/WebKitCompilerFlags.cmake: Go through CMake instead of the plain "env"
program for the sake of portability.
Modified Paths
Diff
Modified: trunk/ChangeLog (290726 => 290727)
--- trunk/ChangeLog 2022-03-02 14:49:22 UTC (rev 290726)
+++ trunk/ChangeLog 2022-03-02 15:03:58 UTC (rev 290727)
@@ -1,3 +1,14 @@
+2022-03-02 Adrian Perez de Castro <[email protected]>
+
+ [CMake] Build failure with libstdc++ (>= 6) when cross-compiling (fatal error: stdlib.h: No such file or directory)
+ https://bugs.webkit.org/show_bug.cgi?id=161697
+ <rdar://problem/89613152>
+
+ Reviewed by Carlos Garcia Campos.
+
+ * Source/cmake/WebKitCompilerFlags.cmake: Go through CMake instead of the plain "env"
+ program for the sake of portability.
+
2022-03-01 Adrian Perez de Castro <[email protected]>
[CMake] Build failure with libstdc++ (>= 6) when cross-compiling (fatal error: stdlib.h: No such file or directory)
Modified: trunk/Source/cmake/WebKitCompilerFlags.cmake (290726 => 290727)
--- trunk/Source/cmake/WebKitCompilerFlags.cmake 2022-03-02 14:49:22 UTC (rev 290726)
+++ trunk/Source/cmake/WebKitCompilerFlags.cmake 2022-03-02 15:03:58 UTC (rev 290727)
@@ -278,7 +278,7 @@
macro(DETERMINE_GCC_SYSTEM_INCLUDE_DIRS _lang _compiler _flags _result)
file(WRITE "${CMAKE_BINARY_DIR}/CMakeFiles/dummy" "\n")
separate_arguments(_buildFlags UNIX_COMMAND "${_flags}")
- execute_process(COMMAND env LANG=C ${_compiler} ${_buildFlags} -v -E -x ${_lang} -dD dummy
+ execute_process(COMMAND ${CMAKE_COMMAND} -E env LANG=C ${_compiler} ${_buildFlags} -v -E -x ${_lang} -dD dummy
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/CMakeFiles OUTPUT_QUIET
ERROR_VARIABLE _gccOutput)
file(REMOVE "${CMAKE_BINARY_DIR}/CMakeFiles/dummy")
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes