From: Harvie Date: Fri, 3 Sep 2010 06:30:35 +0000 (+0200) Subject: Fixed PKGBUILD for x86_64 X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=c52a66eb5bfed1942e9f9fd949dae6ea45af29ac;p=mirrors%2FArchLinux-Packages.git Fixed PKGBUILD for x86_64 --- diff --git a/dnssec-tools/PKGBUILD b/dnssec-tools/PKGBUILD index b7920a0..7e28e32 100644 --- a/dnssec-tools/PKGBUILD +++ b/dnssec-tools/PKGBUILD @@ -20,8 +20,9 @@ md5sums=('f3dfe18ae50cf65594936e1684d469d0' build() { #Segfaults with optimalizations... - export CFLAGS="-march=$CARCH -mtune=generic" - export CXXFLAGS="-march=$CARCH -mtune=generic" + ARCH="$(echo -ne "$CARCH" | tr _ -)" + export CFLAGS="-march=$ARCH -mtune=generic" + export CXXFLAGS="-march=$ARCH -mtune=generic" cd ${srcdir}/${pkgname}-${pkgver}/ || return 1 msg 'Configuring...'