Move Linux build variables from viewer source to variables file.

Mon, 09 Apr 2018 00:04:37 +0200

author
Nicky
date
Mon, 09 Apr 2018 00:04:37 +0200
changeset 55035
a5e854dc4088
parent 55034
914def879c16
child 55036
b83d5820620a

Move Linux build variables from viewer source to variables file.

indra/cmake/00-Common.cmake file | annotate | diff | revisions
     1.1 --- a/indra/cmake/00-Common.cmake	Wed Mar 28 19:45:04 2018 +0300
     1.2 +++ b/indra/cmake/00-Common.cmake	Mon Apr 09 00:04:37 2018 +0200
     1.3 @@ -157,11 +157,9 @@
     1.4    if ( ${FORTIFY_SOURCE_RES} EQUAL 0 )
     1.5     add_definitions(-D_FORTIFY_SOURCE=2)
     1.6    endif()
     1.7 -  set(CMAKE_CXX_FLAGS "-Wno-deprecated -Wno-unused-but-set-variable -Wno-unused-variable -Wno-placement-new ${CMAKE_CXX_FLAGS}")
     1.8  
     1.9    # gcc 4.3 and above don't like the LL boost and also
    1.10    # cause warnings due to our use of deprecated headers
    1.11 -  add_definitions(-Wno-parentheses)
    1.12  
    1.13    add_definitions(
    1.14        -D_REENTRANT
    1.15 @@ -176,18 +174,9 @@
    1.16        -pthread
    1.17        )
    1.18  
    1.19 -  # <FS:ND> Enable C++11 support + gnu extensions
    1.20 -  add_definitions(-std=gnu++11)
    1.21 -  # </FS:ND>
    1.22 -
    1.23 -  # <FS:ND> Enable old C++ ABI
    1.24 -  add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)
    1.25 -  # </FS:ND>
    1.26 -
    1.27    # force this platform to accept TOS via external browser <FS:ND> No, do not.
    1.28    # add_definitions(-DEXTERNAL_TOS)
    1.29  
    1.30 -
    1.31    add_definitions(-DAPPID=secondlife)
    1.32    add_compile_options(-fvisibility=hidden)
    1.33    # don't catch SIGCHLD in our base application class for the viewer - some of

mercurial