[arch-commits] Commit in mkinitcpio-busybox/trunk (PKGBUILD)
Thomas Bächler
thomas at archlinux.org
Fri May 21 16:45:37 UTC 2010
Date: Friday, May 21, 2010 @ 12:45:37
Author: thomas
Revision: 80770
Rebuild with gcc 4.5.1, add -Os optimization again
Modified:
mkinitcpio-busybox/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-05-21 14:10:30 UTC (rev 80769)
+++ PKGBUILD 2010-05-21 16:45:37 UTC (rev 80770)
@@ -2,7 +2,7 @@
# Maintainer: Thomas Bächler <thomas at archlinux.org>
pkgname=mkinitcpio-busybox
pkgver=1.16.1
-pkgrel=3
+pkgrel=4
pkgdesc="base initramfs tools"
arch=('i686' 'x86_64')
url="http://www.busybox.net/"
@@ -23,13 +23,10 @@
patch -p1 -i ../loadfont-setfont-optional-psf2-font-support.patch || return 1
unset CFLAGS CXXFLAGS
- # -fno-tree-pta is required to work around a bug in gcc 4.5.0
- # A patch is scheduled to be backported to 4.5.1, so we can remove it
- # once that is released. Reference: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43987
if [ ${CARCH} = "x86_64" ]; then
- sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-march=x86-64 -mtune=generic -O0 -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config
+ sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-march=x86-64 -mtune=generic -Os -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config
else
- sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-march=i686 -mtune=generic -O0 -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config
+ sed 's|^CONFIG_EXTRA_CFLAGS=.*|CONFIG_EXTRA_CFLAGS="-march=i686 -mtune=generic -Os -pipe -fno-strict-aliasing"|' "${srcdir}/config" > .config
fi
make || return 1
}
More information about the arch-commits
mailing list