diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/gcc/PKGBUILD | 2 | ||||
-rw-r--r-- | core/glibc/PKGBUILD | 19 |
2 files changed, 10 insertions, 11 deletions
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD index 47f33edef..9318c3397 100644 --- a/core/gcc/PKGBUILD +++ b/core/gcc/PKGBUILD @@ -19,7 +19,7 @@ url="http://gcc.gnu.org" makedepends=('binutils>=2.23' 'libmpc' 'cloog' 'ppl' 'doxygen') [[ "$CARCH" != "mips64el" ]] && makedepends+=('gcc-ada') checkdepends=('dejagnu') -options=('!libtool' '!emptydirs') +options=('!libtool' '!emptydirs' '!distcc' '!makeflags') source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2 #ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-${_snapshot}.tar.bz2 gcc_pure64.patch 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') |