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

[glibc] 02/04: debian/sysdeps/hurd.mk: disable stack-protector on the Hurd.



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 56af906f1f77e379d9e406e31bfb69545b57d71a
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Sat Aug 26 23:21:42 2017 +0200

    debian/sysdeps/hurd.mk: disable stack-protector on the Hurd.
---
 debian/changelog       | 1 +
 debian/sysdeps/hurd.mk | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 146dd08..5797612 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ glibc (2.25-0experimental3) UNRELEASED; urgency=medium
     no try to install libm-*.a for builds without mvec.
   * debian/rules.d/build.mk: run configure with --enable-stack-protector=
     strong.
+  * debian/sysdeps/hurd.mk: disable stack-protector on the Hurd.
 
  -- Aurelien Jarno <aurel32@debian.org>  Sat, 26 Aug 2017 16:23:18 +0200
 
diff --git a/debian/sysdeps/hurd.mk b/debian/sysdeps/hurd.mk
index 6e8fff7..143f911 100644
--- a/debian/sysdeps/hurd.mk
+++ b/debian/sysdeps/hurd.mk
@@ -11,6 +11,8 @@ threads = no
 libc_add-ons = libpthread $(add-ons)
 # MIG generates a lot of warnings
 extra_config_options = --disable-werror
+# Building with stack-protector is not supported on the Hurd
+extra_config_options += --enable-stack-protector=no
 
 ifndef HURD_SOURCE
   HURD_HEADERS := /usr/include

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


Reply to: