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.
aes_asm=false
;;
esac
+fi
SILC_ADD_CC_FLAGS(SILC_CRYPTO, -fno-regmove)
-if test x$summary_debug = xno; then
+if test x$summary_debug = xno -a x$want_cc_optimizations = xtrue; then
SILC_ADD_CC_FLAGS(SILC_CRYPTO, -fomit-frame-pointer -O3)
fi