From c52a66eb5bfed1942e9f9fd949dae6ea45af29ac Mon Sep 17 00:00:00 2001 From: Harvie Date: Fri, 3 Sep 2010 08:30:35 +0200 Subject: [PATCH] Fixed PKGBUILD for x86_64 --- dnssec-tools/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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...' -- 2.30.2