[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 119/473: BUILD: reorder flags

noreply at xfce.org noreply at xfce.org
Mon Feb 16 23:54:49 CET 2015


This is an automated email from the git hooks/post-receive script.

gottcode pushed a commit to branch master
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit 9fee2135e341e2b98d8f55b6af28d624f9324100
Author: hasufell <julian.ospald at googlemail.com>
Date:   Thu Jul 18 14:37:07 2013 +0200

    BUILD: reorder flags
    
    This enables environment overrides without the need
    for patching such as -fno-visibility=hidden.
---
 src/CMakeLists.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0290931..00f78c7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -3,9 +3,9 @@ if(ENABLE_WERROR)
 	set(WHISKERMENU_FLAGS "${WHISKERMENU_FLAGS} -Werror")
 endif()
 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WHISKERMENU_FLAGS}")
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden ${WHISKERMENU_FLAGS}")
+set(CMAKE_CXX_FLAGS "-fvisibility=hidden ${WHISKERMENU_FLAGS} ${CMAKE_CXX_FLAGS}")
 if(ENABLE_AS_NEEDED)
-	set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--as-needed")
+	set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed ${CMAKE_SHARED_LINKER_FLAGS}")
 endif()
 
 find_package(GTK2 REQUIRED)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list