You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2016/02/26 00:36:37 UTC

[3/6] qpid-proton git commit: PROTON-1138: c++: Extend_CXX_FLAGS in CMakeLists.txt, don't overwrite user setting.

PROTON-1138: c++: Extend_CXX_FLAGS in CMakeLists.txt, don't overwrite user setting.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/1de2f11f
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/1de2f11f
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/1de2f11f

Branch: refs/heads/master
Commit: 1de2f11f32bfa45ce0bad3b768b3d0f94aadb540
Parents: c7f3f55
Author: Alan Conway <ac...@redhat.com>
Authored: Mon Feb 22 13:56:16 2016 -0500
Committer: Alan Conway <ac...@redhat.com>
Committed: Thu Feb 25 17:50:55 2016 -0500

----------------------------------------------------------------------
 proton-c/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1de2f11f/proton-c/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/CMakeLists.txt b/proton-c/CMakeLists.txt
index 6e755a9..a446db7 100644
--- a/proton-c/CMakeLists.txt
+++ b/proton-c/CMakeLists.txt
@@ -239,8 +239,8 @@ if (CMAKE_COMPILER_IS_GNUCC)
   endif (ENABLE_LINKTIME_OPTIMIZATION)
 
   if (ENABLE_HIDE_UNEXPORTED_SYMBOLS)
-    set (CMAKE_C_FLAGS "-fvisibility=hidden")
-    set (CMAKE_CXX_FLAGS "-fvisibility=hidden")
+    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
   endif (ENABLE_HIDE_UNEXPORTED_SYMBOLS)
 endif (CMAKE_COMPILER_IS_GNUCC)
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org