Fixed PKGBUILD for x86_64
authorHarvie <tomas@mudrunka.cz>
Fri, 3 Sep 2010 06:30:35 +0000 (08:30 +0200)
committerHarvie <tomas@mudrunka.cz>
Fri, 3 Sep 2010 06:30:35 +0000 (08:30 +0200)
dnssec-tools/PKGBUILD

index b7920a00d4c966647b576b1307d74c20d8d360a0..7e28e327f2574becd49d7efad0ce3e24e52c99ce 100644 (file)
@@ -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...'
This page took 0.118512 seconds and 4 git commands to generate.