configure_args is now an array
Note that the of use += requires bash 3.1 or later.
This commit is contained in:
@@ -28,15 +28,13 @@ make_build_target=bootstrap
|
||||
abbrev_ver=$(echo $version | ${__tr} -d '.')
|
||||
|
||||
# Configure args
|
||||
global_config_args="--prefix=$prefix --with-local-prefix=$prefix --with-libiconv-prefix=$lprefix --with-gmp=$lprefix --with-mpfr=$lprefix --disable-nls --enable-shared --enable-threads=posix95"
|
||||
langs="--enable-languages=c,ada,c++,fortran,objc,obj-c++"
|
||||
configure_args=(--prefix=$prefix --with-local-prefix=$prefix --with-libiconv-prefix=$lprefix --with-gmp=$lprefix --with-mpfr=$lprefix --disable-nls --enable-shared --enable-threads=posix95)
|
||||
configure_args+=(--enable-languages=c,ada,c++,fortran,objc,obj-c++)
|
||||
objdir=all_native
|
||||
# platform/arch specific options
|
||||
[ "$_os" = "sunos56" -a "$arch" = "i386" ] && platform_configure_args="--with-gnu-as --with-as=$lprefix/bin/gas"
|
||||
[ "$_os" = "sunos56" -a "$arch" = "i386" ] && configure_args+=(--with-gnu-as --with-as=$lprefix/bin/gas)
|
||||
[ "$arch" = "sparc" ] && vendor="sun" || vendor="pc"
|
||||
|
||||
configure_args="$global_config_args $langs $platform_configure_args"
|
||||
|
||||
export CONFIG_SHELL=/bin/ksh
|
||||
|
||||
reg prep
|
||||
|
||||
Reference in New Issue
Block a user