diff options
| author | seyko <seyko2@gmail.com> | 2016-05-20 15:27:22 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2016-05-20 15:27:22 +0300 |
| commit | 778ec44adcc9a91d39aa4e2a7847820e96fd36e8 (patch) | |
| tree | 51a6b6339cc9f2f94cedc7635a76f78626699fc1 /configure | |
| parent | 4e7a8906a1cfc8feb26eb6c6e6b1f7355dbf664f (diff) | |
| download | tinycc-778ec44adcc9a91d39aa4e2a7847820e96fd36e8.tar.gz tinycc-778ec44adcc9a91d39aa4e2a7847820e96fd36e8.tar.bz2 | |
[avih] configure: support custom ar with --ar=
Author: Avi Halachmi (:avih)
Date: Mon Nov 2 18:46:32 2015 +0200
configure: support custom ar with --ar=
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -163,6 +163,8 @@ for opt do ;; --elfinterp=*) tcc_elfinterp=`echo $opt | cut -d '=' -f 2` ;; + --ar=*) ar=`echo $opt | cut -d '=' -f 2` + ;; --cc=*) cc=`echo $opt | cut -d '=' -f 2` ;; --extra-cflags=*) CFLAGS="${opt#--extra-cflags=}" @@ -305,6 +307,7 @@ Advanced options (experts only): --cross-prefix=PREFIX use PREFIX for compile tools [$cross_prefix] --sysroot=PREFIX prepend PREFIX to library/include paths [] --cc=CC use C compiler CC [$cc] + --ar=AR create archives using AR [$ar] --extra-cflags= specify compiler flags [$CFLAGS] --extra-ldflags= specify linker options [] --cpu=CPU CPU [$cpu] @@ -414,6 +417,7 @@ echo "Doc directory $docdir" echo "Target root prefix $sysroot" echo "Source path $source_path" echo "C compiler $cc" +echo "ar $ar" echo "cross compilers $build_cross" if test "$build_cross" = "no"; then echo "Target CPU $cpu" |
