[pprepair] 07/08: Fix hardening buildflags.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri May 13 11:33:00 UTC 2016


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

sebastic pushed a commit to branch master
in repository pprepair.

commit 5eb7f843b68e28b8548a8109bea8224ac18987fb
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu May 5 13:47:28 2016 +0200

    Fix hardening buildflags.
---
 debian/patches/hardening.patch | 17 +++++++++++++++++
 debian/patches/series          |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
new file mode 100644
index 0000000..a2f1def
--- /dev/null
+++ b/debian/patches/hardening.patch
@@ -0,0 +1,17 @@
+Description: Use hardening buildflags set in the environment.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/tudelft3d/pprepair/pull/40
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -63,6 +63,10 @@ endif()
+ 
+ include_directories( ${GDAL_INCLUDE_DIR} )
+ 
++# Hardening buildflags
++set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} $ENV{CXXFLAGS}")
++set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} $ENV{LDFLAGS}")
++
+ # Creating entries for target: pprepair
+ # ############################
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..814900f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+hardening.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pprepair.git



More information about the Pkg-grass-devel mailing list