mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
Fix the --with-extra-options to use the correct variable.
llvm-svn: 29403
This commit is contained in:
parent
504adc58b7
commit
43cbd39dd0
@ -337,10 +337,10 @@ dnl Specify extra build options
|
||||
AC_ARG_WITH(extra-options,
|
||||
AS_HELP_STRING([--with-extra-options],
|
||||
[Specify addtional options to compile LLVM with]),,
|
||||
extraopts=default)
|
||||
case "$extraopts" in
|
||||
withval=default)
|
||||
case "$withval" in
|
||||
default) EXTRA_OPTIONS= ;;
|
||||
*) EXTRA_OPTIONS=$extraopts ;;
|
||||
*) EXTRA_OPTIONS=$withval ;;
|
||||
esac
|
||||
AC_SUBST(EXTRA_OPTIONS,$EXTRA_OPTIONS)
|
||||
|
||||
|
6
configure
vendored
6
configure
vendored
@ -3347,11 +3347,11 @@ if test "${with_extra_options+set}" = set; then
|
||||
withval="$with_extra_options"
|
||||
|
||||
else
|
||||
extraopts=default
|
||||
withval=default
|
||||
fi;
|
||||
case "$extraopts" in
|
||||
case "$withval" in
|
||||
default) EXTRA_OPTIONS= ;;
|
||||
*) EXTRA_OPTIONS=$extraopts ;;
|
||||
*) EXTRA_OPTIONS=$withval ;;
|
||||
esac
|
||||
EXTRA_OPTIONS=$EXTRA_OPTIONS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user