[gazebo] 07/08: Add patch to respect linker flags

Jose Luis Rivero jrivero-guest at moszumanska.debian.org
Tue Jun 24 02:01:55 UTC 2014


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

jrivero-guest pushed a commit to branch master
in repository gazebo.

commit 5b4f1039836050ac1e40d75eda147fcbdaded14b
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date:   Tue Jun 24 01:53:09 2014 +0000

    Add patch to respect linker flags
---
 debian/patches/0001-respect-linker-flags.patch | 15 +++++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/0001-respect-linker-flags.patch b/debian/patches/0001-respect-linker-flags.patch
new file mode 100644
index 0000000..2db5a88
--- /dev/null
+++ b/debian/patches/0001-respect-linker-flags.patch
@@ -0,0 +1,15 @@
+Description: respect given CMAKE_SHARED_LINKER_FLAGS
+Author: Jose Luis Rivero <jrivero at osrfoundation.org>
+Forwarded: https://bitbucket.org/osrf/gazebo/pull-request/1122
+
+--- gazebo-3.0.0.orig/deps/opende/CMakeLists.txt
++++ gazebo-3.0.0/deps/opende/CMakeLists.txt
+@@ -243,7 +243,7 @@ if (SSE2_FOUND OR SSE3_FOUND OR SSSE3_FO
+   set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSSE")
+ endif()
+ 
+-set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE}} -MF -MT -fno-strict-aliasing -DPIC ")
++set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${CMAKE_LINK_FLAGS_${CMAKE_BUILD_TYPE}} -MF -MT -fno-strict-aliasing -DPIC ")
+ 
+ gz_add_library(gazebo_ode ${sources})
+ target_link_libraries(gazebo_ode
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0ad2c48
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-respect-linker-flags.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gazebo.git



More information about the debian-science-commits mailing list