Source/cmake/OptionsCommon.cmake

@@if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
9898endif ()
9999
100100string(TOLOWER ${CMAKE_HOST_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR)
101 if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND "${LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR}" MATCHES "(i[3-6]86|x86)")
 101if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND "${LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR}" MATCHES "(i[3-6]86|x86|armhf)")
102102 # To avoid out of memory when building with debug option in 32bit system.
103103 # See https://bugs.webkit.org/show_bug.cgi?id=77327
104104 set(CMAKE_SHARED_LINKER_FLAGS_DEBUG "-Wl,--no-keep-memory ${CMAKE_SHARED_LINKER_FLAGS_DEBUG}")

ChangeLog

 12015-07-06 Emanuele Aina <emanuele.aina@collabora.com>
 2
 3 [CMake] Trigger the memory-reduction tricks on armhf too
 4 https://bugs.webkit.org/show_bug.cgi?id=146640
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * Source/cmake/OptionsCommon.cmake:
 9 Activate --no-keep-memory even on armhf to reduce the amount of memory
 10 needed during linking, to avoid out-of-memory failures as much as
 11 possible.
 12
1132015-07-03 Emanuele Aina <emanuele.aina@collabora.com>
214
315 [GTK] Forcefully disable gtk-doc and gobject-introspection when crossbuilding