diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2013-01-23 19:29:02 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2013-01-23 19:29:02 -0300 |
commit | 1f07b846d901eeaf0019566766f8a327ed2d078d (patch) | |
tree | c6a43a5590226750118f0d55eaf17d139b2b424b /core/glibc/PKGBUILD | |
parent | 7405a7789cc6e23dd652ccc0ce25a65f0ca2a7c0 (diff) |
toolchain upgrade
Diffstat (limited to 'core/glibc/PKGBUILD')
-rw-r--r-- | core/glibc/PKGBUILD | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD index c6bf5c57f..9f4017ccc 100644 --- a/core/glibc/PKGBUILD +++ b/core/glibc/PKGBUILD @@ -24,13 +24,6 @@ source=(http://ftp.gnu.org/gnu/libc/${pkgname}-${pkgver}.tar.xz{,.sig} nscd.tmpfiles locale.gen.txt locale-gen) -md5sums=('87bf675c8ee523ebda4803e8e1cec638' - '6db4d1661cf34282755dc90330465f6d' - 'c1e07c0bec0fe89791bfd9d13fc85edf' - 'bccbe5619e75cf1d97312ec3681c605c' - '07ac979b6ab5eeb778d55f041529d623' - '476e9113489f93b348b21e144b6a8fcf') - build() { cd ${srcdir}/${pkgname}-${pkgver} @@ -39,7 +32,7 @@ build() { sed -i "s#add_system_dir#do_not_add_system_dir#" sysdeps/unix/sysv/linux/x86_64/dl-cache.h cd ${srcdir} - mkdir glibc-build + mkdir -p glibc-build cd glibc-build if [[ ${CARCH} = "i686" ]]; then @@ -58,14 +51,14 @@ build() { CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/} ${srcdir}/${pkgname}-${pkgver}/configure --prefix=/usr \ + --host=${CHOST} --build=${CHOST} \ --libdir=/usr/lib --libexecdir=/usr/lib \ --with-headers=/usr/include \ --enable-add-ons=nptl,libidn$extra_addons \ --enable-obsolete-rpc \ --enable-kernel=2.6.32 \ --enable-bind-now --disable-profile \ - --enable-stackguard-randomization \ - --enable-multi-arch + --enable-stackguard-randomization # build libraries with hardening disabled echo "build-programs=no" >> configparms @@ -146,3 +139,9 @@ package() { usr/lib/{libmemusage,libpcprofile,libSegFault}.so \ usr/lib/{pt_chown,{audit,gconv}/*.so} } +md5sums=('87bf675c8ee523ebda4803e8e1cec638' + '6db4d1661cf34282755dc90330465f6d' + 'c1e07c0bec0fe89791bfd9d13fc85edf' + 'bccbe5619e75cf1d97312ec3681c605c' + '07ac979b6ab5eeb778d55f041529d623' + '476e9113489f93b348b21e144b6a8fcf') |