Changeset 211635 in webkit


Ignore:
Timestamp:
Feb 3, 2017 9:21:21 AM (7 years ago)
Author:
Konstantin Tokarev
Message:

[CMake] RelWithDebInfo builds are super broken at runtime
https://bugs.webkit.org/show_bug.cgi?id=163897

Reviewed by Michael Catanzaro.

  • Source/cmake/OptionsCommon.cmake: Apply -fno-strict-aliasing,

-fno-exceptions, and -fno-rtti flags to all configurations,
instead of only "Release".

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r211631 r211635  
     12017-02-03  Konstantin Tokarev  <annulen@yandex.ru>
     2
     3        [CMake] RelWithDebInfo builds are super broken at runtime
     4        https://bugs.webkit.org/show_bug.cgi?id=163897
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        * Source/cmake/OptionsCommon.cmake: Apply -fno-strict-aliasing,
     9        -fno-exceptions, and -fno-rtti flags to all configurations,
     10        instead of only "Release".
     11
    1122017-02-03  Carlos Garcia Campos  <cgarcia@igalia.com>
    213
  • trunk/Source/cmake/OptionsCommon.cmake

    r208418 r211635  
    3939
    4040if (COMPILER_IS_GCC_OR_CLANG)
    41     set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-exceptions -fno-strict-aliasing")
    42     set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-exceptions -fno-strict-aliasing -fno-rtti")
     41    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-exceptions -fno-strict-aliasing")
     42    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions -fno-strict-aliasing -fno-rtti")
    4343    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y")
    4444endif ()
Note: See TracChangeset for help on using the changeset viewer.