On Tue, 25 May 2010 11:50:35 +0200 Rene Rebe <[email protected]> wrote:
> Hi Gerardo! > > On May 23, 2010, at 10:33 PM, Gerardo Di Iorio wrote: > > > hi, > > this patch fix cross compiling libgcrypt > i have modify the patch, now use only echo >> config.cache > > Ah! This looks better than the first patch just disabling the ASM. > Though not all GCC/Linux flavors have the same _underscore behavior, > IIRC at least PowerPC differe from x86, maybe more. Guess we need to > encode that in the architecture/ defines. But that is ok for now > until the next one needs it :-) > > I only wonder if you need to patch the configure, the echo ... >> > config.cache is not enough? > > Rene“ >
>From 2a77bf17135bb7fbb7f5fa2031468c1426647c7e Mon Sep 17 00:00:00 2001 From: Gerardo Di Iorio <[email protected]> Date: Wed, 19 May 2010 19:25:56 +0200 Subject: [PATCH] libgcrypt fix build for cross compiling Signed-off-by: Gerardo Di Iorio <[email protected]> --- package/security/libgcrypt/libgcrypt.conf | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/package/security/libgcrypt/libgcrypt.conf b/package/security/libgcrypt/libgcrypt.conf index 52ad0d1..63a1945 100644 --- a/package/security/libgcrypt/libgcrypt.conf +++ b/package/security/libgcrypt/libgcrypt.conf @@ -15,4 +15,5 @@ if ! atstage native; then var_append extraconfopt ' ' "--with-gpg-error-prefix=$root/`pkgprefix libgpg-error`" + hook_add preconf 5 "echo 'ac_cv_sys_symbol_underscore=no' >> ./config.cache" fi -- 1.6.5.5
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
