From baed484c86f44c93b973dd42d905d1fe867e9108 Mon Sep 17 00:00:00 2001 From: Jochen Eisinger Date: Sun, 13 May 2007 10:26:40 +0000 Subject: [PATCH] Sun May 13 12:16:30 CEST 2007 Jochen Eisinger * Disable ASM if --with-pic was given. Affected file is lib/silccrypt/configure.ad --- CHANGES | 5 +++++ lib/silccrypt/configure.ad | 3 +++ 2 files changed, 8 insertions(+) diff --git a/CHANGES b/CHANGES index 4641fae1..5c6211bc 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,8 @@ +Sun May 13 12:16:30 CEST 2007 Jochen Eisinger + + * Disable ASM if --with-pic was given. Affected file is + lib/silccrypt/configure.ad + Fri May 11 19:10:54 EEST 2007 Pekka Riikonen * Wakeup scheduler in silc_fsm_continue and silc_fsm_next_later diff --git a/lib/silccrypt/configure.ad b/lib/silccrypt/configure.ad index d392563f..283a5ee9 100644 --- a/lib/silccrypt/configure.ad +++ b/lib/silccrypt/configure.ad @@ -22,6 +22,8 @@ AC_MSG_NOTICE([configuring crypto library]) SILC_CRYPTO_CFLAGS= aes_asm=false + +if test "${pic_mode:-default}" != "yes" ; then case "$host_cpu" in i?86) # Don't enable ASM AES with shared libs as the code doesn't support PIC. @@ -40,6 +42,7 @@ case "$host_cpu" in aes_asm=false ;; esac +fi SILC_ADD_CC_FLAGS(SILC_CRYPTO, -fno-regmove) if test x$summary_debug = xno; then -- 2.24.0