Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7526


Ignore:
Timestamp:
Oct 11, 2010, 11:17:09 PM (14 years ago)
Author:
rgrieder
Message:

Fixed GCC visibility: Default should be 'default', not 'hidden' for our project

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ois_update/cmake/CompilerConfigGCC.cmake

    r7524 r7526  
    7777#ENDIF()
    7878
    79 IF(FALSE AND NOT MINGW)
     79IF(NOT MINGW)
    8080  # Have GCC visibility?
    8181  CHECK_CXX_COMPILER_FLAG("-fvisibility=hidden" _gcc_have_visibility)
     
    8484    COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.2.0" _compare_result)
    8585    IF(NOT CMAKE_BUILD_TYPE STREQUAL "Debug" OR _compare_result GREATER -1)
    86       ADD_COMPILER_FLAGS("-DORXONOX_GCC_VISIBILITY -fvisibility=hidden -fvisibility-inlines-hidden" CACHE)
     86      ADD_COMPILER_FLAGS("-DORXONOX_GCC_VISIBILITY -fvisibility=default -fvisibility-inlines-hidden" CACHE)
    8787    ENDIF()
    8888  ENDIF(_gcc_have_visibility)
    89 ENDIF(FALSE AND NOT MINGW)
     89ENDIF()
    9090
    9191# We have some unconformant code, disable an optimisation feature
Note: See TracChangeset for help on using the changeset viewer.