diff options
author | Josh Blum <josh@joshknows.com> | 2012-02-18 14:40:21 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-02-18 14:40:21 -0800 |
commit | e9e670d7c9ecc6c809795b4a52d57fe612173ca9 (patch) | |
tree | 18f44ff5765fb4ca3642724268298c4c1231c02c | |
parent | 3ddbcb6078593c39cb0e4bc8f9769f818a61466f (diff) | |
download | uhd-e9e670d7c9ecc6c809795b4a52d57fe612173ca9.tar.gz uhd-e9e670d7c9ecc6c809795b4a52d57fe612173ca9.tar.bz2 uhd-e9e670d7c9ecc6c809795b4a52d57fe612173ca9.zip |
uhd: added -fvisibility-inlines-hidden
-rw-r--r-- | host/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 05dd73d01..56897bb1f 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2010-2011 Ettus Research LLC +# Copyright 2010-2012 Ettus Research LLC # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -80,6 +80,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX) IF(NOT WIN32) #only export symbols that are declared to be part of the uhd api (non dll platforms) UHD_ADD_OPTIONAL_CXX_COMPILER_FLAG(-fvisibility=hidden HAVE_VISIBILITY_HIDDEN) + UHD_ADD_OPTIONAL_CXX_COMPILER_FLAG(-fvisibility-inlines-hidden HAVE_VISIBILITY_INLINES_HIDDEN) ENDIF(NOT WIN32) ENDIF(CMAKE_COMPILER_IS_GNUCXX) |