Changeset 128855 in webkit


Ignore:
Timestamp:
Sep 18, 2012, 12:20:05 AM (12 years ago)
Author:
ryuan.choi@samsung.com
Message:

[CMAKE] Fix build break because of memory exhausted.
https://bugs.webkit.org/show_bug.cgi?id=77327

Reviewed by Gyuyoung Kim.

Added to avoid memory exhaustion on 32bit linux debug build.

  • Source/cmake/OptionsCommon.cmake:
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r128800 r128855  
     12012-09-18  Ryuan Choi  <ryuan.choi@samsung.com>
     2
     3        [CMAKE] Fix build break because of memory exhausted.
     4        https://bugs.webkit.org/show_bug.cgi?id=77327
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        Added to avoid memory exhaustion on 32bit linux debug build.
     9
     10        * Source/cmake/OptionsCommon.cmake:
     11
    1122012-09-17  Rob Buis  <rbuis@rim.com>
    213
  • trunk/Source/cmake/OptionsCommon.cmake

    r120927 r128855  
    2727SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ON)
    2828
     29STRING(TOLOWER ${CMAKE_HOST_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR)
     30IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND "${LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR}" MATCHES "(i[3-6]86|x86)" AND "${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
     31    # To avoid out of memory when building with debug option in 32bit system.
     32    # See https://bugs.webkit.org/show_bug.cgi?id=77327
     33    SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-keep-memory")
     34ENDIF ()
     35
    2936SET(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)")
    3037
Note: See TracChangeset for help on using the changeset viewer.