diff options
Diffstat (limited to '')
| -rw-r--r-- | auto/lib/md5/conf | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/auto/lib/md5/conf b/auto/lib/md5/conf index 3c7878382..57662f702 100644 --- 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" |
