Changeset 160797 in webkit


Ignore:
Timestamp:
Dec 18, 2013 3:05:09 PM (10 years ago)
Author:
Gustavo Noronha Silva
Message:

[GTK][CMake] Remove binary size optimizations we do not use in the autotools build
https://bugs.webkit.org/show_bug.cgi?id=125947

Reviewed by Martin Robinson.

  • Source/cmake/OptionsGTK.cmake: remove the relevant flags.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r160759 r160797  
     12013-12-18  Gustavo Noronha Silva  <gns@gnome.org>
     2
     3        [GTK][CMake] Remove binary size optimizations we do not use in the autotools build
     4        https://bugs.webkit.org/show_bug.cgi?id=125947
     5
     6        Reviewed by Martin Robinson.
     7
     8        * Source/cmake/OptionsGTK.cmake: remove the relevant flags.
     9
    1102013-12-18  Carlos Garcia Campos  <cgarcia@igalia.com>
    211
  • trunk/Source/cmake/OptionsGTK.cmake

    r160728 r160797  
    140140endif ()
    141141
    142 # Optimize binary size for release builds by removing dead sections on unix/gcc
    143 if (CMAKE_COMPILER_IS_GNUCC AND UNIX AND NOT APPLE)
    144     set(CMAKE_C_FLAGS_RELEASE "-ffunction-sections -fdata-sections ${CMAKE_C_FLAGS_RELEASE}")
    145     set(CMAKE_CXX_FLAGS_RELEASE "-ffunction-sections -fdata-sections ${CMAKE_CXX_FLAGS_RELEASE}")
    146     set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "-Wl,--gc-sections ${CMAKE_SHARED_LINKER_FLAGS_RELEASE}")
    147 endif ()
    148 
    149142if (${OPENGL_FOUND} AND (${GLX_FOUND} OR ${EGL_FOUND}))
    150143    set(ENABLE_WEBGL 1)
Note: See TracChangeset for help on using the changeset viewer.