BUILD/compile-pentium64
raw| 1 | #! /bin/sh |
| 2 | |
| 3 | path=`dirname $0` |
| 4 | . "$path/SETUP.sh" |
| 5 | |
| 6 | extra_flags="$pentium64_cflags $fast_cflags" |
| 7 | # On CentOS/Fedora Core 10 amd64, there is system libz.so but not |
| 8 | # libz.a, so need to use bundled zlib when building static |
| 9 | # binary. Hence we use --with-zlib-dir=bundled |
| 10 | extra_configs="$pentium_configs $static_link --with-zlib-dir=bundled" |
| 11 | CC="$CC --pipe" |
| 12 | strip=yes |
| 13 | |
| 14 | . "$path/FINISH.sh" |