[arch-commits] Commit in lib32-glibc/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun May 28 18:55:35 UTC 2017


    Date: Sunday, May 28, 2017 @ 18:55:32
  Author: heftig
Revision: 230680

2.25-3: Enable mstackrealign to work around FS#54136

Modified:
  lib32-glibc/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-28 18:51:03 UTC (rev 230679)
+++ PKGBUILD	2017-05-28 18:55:32 UTC (rev 230680)
@@ -8,7 +8,7 @@
 
 pkgname=lib32-glibc
 pkgver=2.25
-pkgrel=2
+pkgrel=3
 _commit=ccb4fd7a657b0fbc4890c98f4586d58a135fc583
 pkgdesc="GNU C Library (32-bit)"
 arch=('x86_64')
@@ -45,13 +45,14 @@
   echo "sbindir=/usr/bin" >> configparms
   echo "rootsbindir=/usr/bin" >> configparms
 
-  export CC="gcc -m32"
-  export CXX="g++ -m32"
+  export CC="gcc -m32 -mstackrealign"
+  export CXX="g++ -m32 -mstackrealign"
 
   # remove fortify for building libraries
   CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/}
 
   ../glibc/configure \
+      --host=i686-pc-linux-gnu \
       --prefix=/usr \
       --libdir=/usr/lib32 \
       --libexecdir=/usr/lib32 \
@@ -66,8 +67,7 @@
       --enable-stack-protector=strong \
       --enable-lock-elision \
       --enable-multi-arch \
-      --disable-werror \
-      i686-pc-linux-gnu
+      --disable-werror
 
   # build libraries with fortify disabled
   echo "build-programs=no" >> configparms



More information about the arch-commits mailing list