| # Copyright (C) Igor Sysoev |
| # Intel C++ compiler 7.1, 8.0 |
| # inline functions declared with __inline |
| # inline any function, at the compiler's discretion |
| # single-file IP optimizations |
| # multi-file IP optimizations |
| CORE_LINK="$CORE_LINK $IPO" |
| CORE_LINK="$CORE_LINK -opt_report_file=$OBJS/opt_report_file" |
| # optimize for Pentium and Athlon |
| # optimize for Pentium Pro, Pentium II and Pentium III |
| CPU_OPT="-mcpu=pentiumpro -march=pentiumpro" |
| # optimize for Pentium 4, default |
| CPU_OPT="-march=pentium4" |
| CFLAGS="$CFLAGS $CPU_OPT" |
| if [ ".$PCRE_OPT" = "." ]; then |
| PCRE_OPT="-O $IPO $CPU_OPT" |
| if [ ".$MD5_OPT" = "." ]; then |
| MD5_OPT="-O $IPO $CPU_OPT" |
| if [ ".$ZLIB_OPT" = "." ]; then |
| ZLIB_OPT="-O $IPO $CPU_OPT" |