From e9e670d7c9ecc6c809795b4a52d57fe612173ca9 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sat, 18 Feb 2012 14:40:21 -0800 Subject: uhd: added -fvisibility-inlines-hidden --- host/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/CMakeLists.txt') 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) -- cgit v1.2.3