Mercurial > hg > nginx
diff auto/lib/md5/conf @ 288:f81d075ad172
nginx-0.0.2-2004-03-14-23:46:25 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 14 Mar 2004 20:46:25 +0000 |
parents | 30310107dbc9 |
children | 99b349386504 |
line wrap: on
line diff
--- a/auto/lib/md5/conf +++ b/auto/lib/md5/conf @@ -25,6 +25,17 @@ if [ $MD5 != NONE ]; then CORE_LIBS="$CORE_LIBS $MD5/md5.lib" ;; + *icc) + LINK_DEPS="$LINK_DEPS $MD5/libmd5.a" + + # to allow -ipo optimization we link with the *.o but not library + CORE_LIBS="$CORE_LIBS $MD5/md5_dgst.o" + + if [ $MD5_ASM = YES ]; then + CORE_LIBS="$CORE_LIBS $MD5/asm/mx86-elf.o" + fi + ;; + *) LINK_DEPS="$LINK_DEPS $MD5/libmd5.a" CORE_LIBS="$CORE_LIBS -L $MD5 -lmd5"