[Debian-astro-commits] [cspice] 25/48: Add hardening to the build sequence
Rock Storm
rockstorm-guest at moszumanska.debian.org
Thu Dec 15 21:32:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
rockstorm-guest pushed a commit to branch debian
in repository cspice.
commit e43dbb804ccaf27985695861628b939feccfbfe2
Author: Rock Storm <rockstorm at gmx.com>
Date: Wed Nov 16 20:35:40 2016 +0100
Add hardening to the build sequence
---
debian/patches/create-and-link-to-shared-libraries.patch | 2 +-
debian/rules | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/patches/create-and-link-to-shared-libraries.patch b/debian/patches/create-and-link-to-shared-libraries.patch
index e19f175..d1c6301 100644
--- a/debian/patches/create-and-link-to-shared-libraries.patch
+++ b/debian/patches/create-and-link-to-shared-libraries.patch
@@ -66,7 +66,7 @@ From: Rock Storm <rockstorm at gmx.com>
if ( $status == 0 ) then
+ echo " Inserting objects in the shared library $SL_REALNAME ..."
-+ $TKCOMPILER -shared -Wl,-soname,$SL_SONAME -o $SL_REALNAME *.o -lm
++ $TKCOMPILER -shared -Wl,-soname,$SL_SONAME -o $SL_REALNAME *.o $TKLINKOPTIONS
+ mv $SL_REALNAME $LIBDIR
+ ln -sf $SL_REALNAME $LIBDIR$SL_SONAME
+ ln -sf $SL_REALNAME $LIBDIR$SL_LINKERNAME
diff --git a/debian/rules b/debian/rules
index 06b442f..46557ad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
# see FEATURE AREAS in dpkg-buildflags(1)
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/cspice.git
More information about the Debian-astro-commits
mailing list