[ignition-msgs] 04/05: Added patch to respect CFLAGS

Jose Luis Rivero jrivero-guest at moszumanska.debian.org
Wed Aug 3 12:54:25 UTC 2016


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

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

commit 2bef16ef7f09d903cacb888cbb06125ed656ee5a
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date:   Wed Aug 3 12:53:43 2016 +0000

    Added patch to respect CFLAGS
---
 debian/patches/0002_respect_cflags.patch | 21 +++++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0002_respect_cflags.patch b/debian/patches/0002_respect_cflags.patch
new file mode 100644
index 0000000..5ab1cff
--- /dev/null
+++ b/debian/patches/0002_respect_cflags.patch
@@ -0,0 +1,21 @@
+Description: Respect CFLAGS and CXXFLAGS
+Author: Jose Luis Rivero <jrivero at osrfoundation.org>
+Last-Update: 2016-08-03
+Forwarded: No
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4f8602d..d2fe6af 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -173,11 +173,6 @@ else()
+   build_error("CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} unknown. Valid options are: Debug Release RelWithDebInfo Profile Check")
+ endif()
+ 
+-#####################################
+-# Handle CFlags
+-unset (CMAKE_C_FLAGS_ALL CACHE)
+-unset (CMAKE_CXX_FLAGS CACHE)
+-
+ # Check if warning options are avaliable for the compiler and return WARNING_CXX_FLAGS variable
+ # MSVC generates tons of warnings on gtest code.
+ # Recommended to use /W4 instead of /Wall
diff --git a/debian/patches/series b/debian/patches/series
index cb3f805..6442bfa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001_use_system_gtest.patch
+0002_respect_cflags.patch

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



More information about the debian-science-commits mailing list