[Lunar-commits] <moonbase> beecrypt: temporary compilation fix

Paul Bredbury brebs at lunar-linux.org
Fri Sep 25 10:43:14 CEST 2009


commit 41103202589f0f5f3489b8d2b17af1a9e64f0bc0
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Fri Sep 25 15:43:14 2009 +0700

    beecrypt: temporary compilation fix
    
    Due to Lunar problem of gcc CFLAGS being picked up from both of
    /etc/lunar/local/optimizations.GCC_4_{2,4}
---
 crypto/beecrypt/BUILD |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/crypto/beecrypt/BUILD b/crypto/beecrypt/BUILD
index 6c0af20..7d5fe52 100644
--- a/crypto/beecrypt/BUILD
+++ b/crypto/beecrypt/BUILD
@@ -13,7 +13,11 @@
     export CFLAGS=${CFLAGS/-march=athlon-fx/-march=i686}  &&
     export CFLAGS=${CFLAGS/-march=k8/-march=i686}         &&
     export CFLAGS=${CFLAGS/-march=opteron/-march=i686}    &&
-    export CFLAGS=${CFLAGS/-march=em64t/-march=i686}
+    export CFLAGS=${CFLAGS/-march=em64t/-march=i686}      &&
+
+    # Temporary workaround for gcc picking up CFLAGS from both of
+    # /etc/lunar/local/optimizations.GCC_4_{2,4}, which breaks compilation.
+    sedit "s:ASM_ARCH=\$bc_target_arch:ASM_ARCH=i686:" configure
   fi  &&
 
   # Fixes compilation of rpm - http://rpm5.org/cvs/tktview?tn=51


More information about the Lunar-commits mailing list