History

[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=

seyko committed 10 years ago

Commit 778ec441 parent 4e7a8901 file · +4 −0Browse files

Unified · Split

configure+4−0
@@ -163,6 +163,8 @@ for opt do · 162 unmodified lines
163163 ;;
164164 --elfinterp=*) tcc_elfinterp=`echo $opt | cut -d '=' -f 2`
165165 ;;
166+ --ar=*) ar=`echo $opt | cut -d '=' -f 2`
167+ ;;
166168 --cc=*) cc=`echo $opt | cut -d '=' -f 2`
167169 ;;
168170 --extra-cflags=*) CFLAGS="${opt#--extra-cflags=}"
@@ -305,6 +307,7 @@ Advanced options (experts only): · 136 unmodified lines
305307 --cross-prefix=PREFIX use PREFIX for compile tools [$cross_prefix]
306308 --sysroot=PREFIX prepend PREFIX to library/include paths []
307309 --cc=CC use C compiler CC [$cc]
310+ --ar=AR create archives using AR [$ar]
308311 --extra-cflags= specify compiler flags [$CFLAGS]
309312 --extra-ldflags= specify linker options []
310313 --cpu=CPU CPU [$cpu]
@@ -414,6 +417,7 @@ echo "Doc directory $docdir" · 103 unmodified lines
414417 echo "Target root prefix $sysroot"
415418 echo "Source path $source_path"
416419 echo "C compiler $cc"
420+echo "ar $ar"
417421 echo "cross compilers $build_cross"
418422 if test "$build_cross" = "no"; then
419423 echo "Target CPU $cpu"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t