[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[glibc] 01/01: debian/rules.d/build.mk: run configure --enable-stack-protector=strong, which calls gcc with -fstack-protector-strong. This was already the case in glibc 2.24 through CFLAGS set by dpkg-buildflags, but this now has to be explicitly passed to configure.



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

aurel32 pushed a commit to branch glibc-2.25
in repository glibc.

commit 84e6fc09895fe2ba0f054cc44915593d26fba2c5
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Sat Aug 26 20:41:00 2017 +0200

    debian/rules.d/build.mk: run configure --enable-stack-protector=strong, which calls gcc with -fstack-protector-strong. This was already the case in glibc 2.24 through CFLAGS set by dpkg-buildflags, but this now has to be explicitly passed to configure.
---
 debian/changelog        | 4 ++++
 debian/rules.d/build.mk | 1 +
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2fc478c..4e8b096 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,10 @@ glibc (2.25-0experimental3) UNRELEASED; urgency=medium
   [ Aurelien Jarno ]
   * debian/debhelper.in/libc-dev-alt.install, debian/rules.d/debhelper.mk: do
     no try to install libm-*.a for builds without mvec.
+  * debian/rules.d/build.mk: run configure --enable-stack-protector=strong,
+    which calls gcc with -fstack-protector-strong. This was already the case
+    in glibc 2.24 through CFLAGS set by dpkg-buildflags, but this now has to
+    be explicitly passed to configure.
 
  -- Aurelien Jarno <aurel32@debian.org>  Sat, 26 Aug 2017 16:23:18 +0200
 
diff --git a/debian/rules.d/build.mk b/debian/rules.d/build.mk
index 7d9086d..9641c1a 100644
--- a/debian/rules.d/build.mk
+++ b/debian/rules.d/build.mk
@@ -94,6 +94,7 @@ $(stamp)configure_%: $(stamp)config_sub_guess $(stamp)patch $(KERNEL_HEADER_DIR)
 		--enable-add-ons=$(standard-add-ons)"$(call xx,add-ons)" \
 		--without-selinux \
 		--enable-stackguard-randomization \
+		--enable-stack-protector=strong \
 		--enable-obsolete-rpc \
 		--with-pkgversion="Debian GLIBC $(DEB_VERSION)" \
 		--with-bugurl="http://www.debian.org/Bugs/"; \

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


Reply to: