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