X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccrypt%2Fconfigure.ad;h=283a5ee92ec21c37d91e97ceb36fec3ebff7c3a3;hb=baed484c86f44c93b973dd42d905d1fe867e9108;hp=d392563f8acab0ce26d89e35d3885b158240758c;hpb=1079c139c9845de90d67335d5d204dd10ed9f449;p=silc.git 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