Author: Avi Halachmi (:avih) Date: Mon Nov 2 18:46:32 2015 +0200 configure: support custom ar with --ar=
Unified · Split
| @@ -163,6 +163,8 @@ for opt do · 162 unmodified lines | ||
| 163 | 163 | ;; |
| 164 | 164 | --elfinterp=*) tcc_elfinterp=`echo $opt | cut -d '=' -f 2` |
| 165 | 165 | ;; |
| 166 | + --ar=*) ar=`echo $opt | cut -d '=' -f 2` | |
| 167 | + ;; | |
| 166 | 168 | --cc=*) cc=`echo $opt | cut -d '=' -f 2` |
| 167 | 169 | ;; |
| 168 | 170 | --extra-cflags=*) CFLAGS="${opt#--extra-cflags=}" |
| @@ -305,6 +307,7 @@ Advanced options (experts only): · 136 unmodified lines | ||
| 305 | 307 | --cross-prefix=PREFIX use PREFIX for compile tools [$cross_prefix] |
| 306 | 308 | --sysroot=PREFIX prepend PREFIX to library/include paths [] |
| 307 | 309 | --cc=CC use C compiler CC [$cc] |
| 310 | + --ar=AR create archives using AR [$ar] | |
| 308 | 311 | --extra-cflags= specify compiler flags [$CFLAGS] |
| 309 | 312 | --extra-ldflags= specify linker options [] |
| 310 | 313 | --cpu=CPU CPU [$cpu] |
| @@ -414,6 +417,7 @@ echo "Doc directory $docdir" · 103 unmodified lines | ||
| 414 | 417 | echo "Target root prefix $sysroot" |
| 415 | 418 | echo "Source path $source_path" |
| 416 | 419 | echo "C compiler $cc" |
| 420 | +echo "ar $ar" | |
| 417 | 421 | echo "cross compilers $build_cross" |
| 418 | 422 | if test "$build_cross" = "no"; then |
| 419 | 423 | echo "Target CPU $cpu" |