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

[glibc] 01/01: debian/control.in/main, debian/sysdeps/{amd64, i386, x32}.mk: enable support for building static PIE.



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

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

commit b54b042aaba910de3a1bf8848225b1765589bfba
Author: Aurelien Jarno <aurelien@aurel32.net>
Date:   Sat Feb 3 12:08:49 2018 +0100

    debian/control.in/main, debian/sysdeps/{amd64,i386,x32}.mk: enable support for building static PIE.
---
 debian/changelog        | 2 ++
 debian/control.in/main  | 2 +-
 debian/sysdeps/amd64.mk | 2 +-
 debian/sysdeps/i386.mk  | 2 +-
 debian/sysdeps/x32.mk   | 2 +-
 5 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 67538db..8141a83 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,8 @@ glibc (2.27-0experimental0) UNRELEASED; urgency=medium
   * debian/rules: tweak GCC garbage collector on 32-bit MIPS builders.
   * debian/rules.d/tarball.mk: do a local bare clone before using git archive
     as it doesn't support https.
+  * debian/control.in/main, debian/sysdeps/{amd64,i386,x32}.mk: enable support
+    for building static PIE.
 
  -- Aurelien Jarno <aurel32@debian.org>  Fri, 02 Feb 2018 00:58:53 +0100
 
diff --git a/debian/control.in/main b/debian/control.in/main
index d727e6e..3f94221 100644
--- a/debian/control.in/main
+++ b/debian/control.in/main
@@ -9,7 +9,7 @@ Build-Depends: gettext, dpkg (>= 1.18.7), dpkg-dev (>= 1.17.14), xz-utils, file,
  hurd-dev (>= 1:0.9.git20171119-4~) [hurd-i386] | hurd-headers-dev [hurd-i386],
  hurd-dev (>= 1:0.9.git20171119-4~) [hurd-i386] <!stage1> | libihash-dev [hurd-i386] <!stage1>,
  kfreebsd-kernel-headers [kfreebsd-any],
- binutils (>= 2.25),
+ binutils (>= 2.25), binutils (>= 2.29) [amd64 i386 x32],
  g++-7, g++-7 (>= 7.2.0-20) [amd64 i386 x32], g++-7-multilib [amd64 i386 kfreebsd-amd64 mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el powerpc ppc64 s390x sparc sparc64 x32],
  python3:native <!nocheck>,
  libc-bin (>= @GLIBC_VERSION@) <cross>
diff --git a/debian/sysdeps/amd64.mk b/debian/sysdeps/amd64.mk
index 2d23eed..eab2052 100644
--- a/debian/sysdeps/amd64.mk
+++ b/debian/sysdeps/amd64.mk
@@ -1,5 +1,5 @@
 # configuration options for all flavours
-extra_config_options = --enable-multi-arch
+extra_config_options = --enable-multi-arch --enable-static-pie
 
 # main library
 libc_mvec = yes
diff --git a/debian/sysdeps/i386.mk b/debian/sysdeps/i386.mk
index 9143d3e..2ef00aa 100644
--- a/debian/sysdeps/i386.mk
+++ b/debian/sysdeps/i386.mk
@@ -1,5 +1,5 @@
 # configuration options for all flavours
-extra_config_options = --enable-multi-arch
+extra_config_options = --enable-multi-arch --enable-static-pie
 
 ifeq (,$(filter stage1 stage2, $(DEB_BUILD_PROFILES)))
 # We use -mno-tls-direct-seg-refs to not wrap-around segments, as it
diff --git a/debian/sysdeps/x32.mk b/debian/sysdeps/x32.mk
index fa3b926..2f33845 100644
--- a/debian/sysdeps/x32.mk
+++ b/debian/sysdeps/x32.mk
@@ -1,5 +1,5 @@
 # configuration options for all flavours
-extra_config_options = --enable-multi-arch
+extra_config_options = --enable-multi-arch --enable-static-pie
 
 # main library
 libc_mvec = yes

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


Reply to: