From: Alyssa M. <fu...@us...> - 2010-04-12 22:12:42
|
gemrb: Infinity Engine emulator The branch master has been updated via 93f086e354df91d34d1f1cb0d61471755840d890 (commit) Summary of changes: CMakeLists.txt | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) from 6d4b5a032e832fcb03d3086edf344c4b7b91f936 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=93f086e354df91d34d1f1cb0d61471755840d890 commit 93f086e354df91d34d1f1cb0d61471755840d890 Author: Alyssa Milburn <fu...@fu...> Date: Tue Apr 13 00:12:31 2010 +0200 cmake: check whether -fvisibility=hidden is supported before using it diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f1c448..829b784 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,7 +85,11 @@ IF(CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -W -Wpointer-arith -Wcast-align") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ansi -pedantic -Wno-format-y2k -Wno-long-long -fno-strict-aliasing") # only export symbols explicitly marked to be exported. - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") + INCLUDE(CheckCXXCompilerFlag) + CHECK_CXX_COMPILER_FLAG("-fvisibility=hidden" VISIBILITY_HIDDEN) + IF (VISIBILITY_HIDDEN) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") + ENDIF (VISIBILITY_HIDDEN) # Ensure all plugin symbols exist. if (NOT APPLE) set(CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined") ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |