[llvm-commits] [PATCH] Adapt LLVMCC_DISABLEOPT_FLAGS in configure to recent changes in dragonegg.
Duncan Sands
baldrick at free.fr
Tue May 24 01:04:08 PDT 2011
Hi ether,
> This patch suspends the "unrecognised option
> '-fplugin-arg-dragonegg-disable-llvm-optzns'" warning, it works in
> opensuse 11.4. Could you commit it for me if it is ok? thanks.
I did this yesterday already.
Ciao, Duncan.
>
> best regards
> ether
> ---
> autoconf/configure.ac | 2 +-
> configure | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/autoconf/configure.ac b/autoconf/configure.ac
> index 6b5efbe..f0e7c42 100644
> --- a/autoconf/configure.ac
> +++ b/autoconf/configure.ac
> @@ -1528,7 +1528,7 @@ dnl Set the flags needed to emit LLVM IR and to
> disable optimizations
> dnl in llvmgcc
> if test "$llvm_cv_llvmgcc_dragonegg" = "yes" ; then
> LLVMCC_EMITIR_FLAG="-fplugin-arg-dragonegg-emit-ir"
> - LLVMCC_DISABLEOPT_FLAGS="-fplugin-arg-dragonegg-disable-llvm-optzns"
> + LLVMCC_DISABLEOPT_FLAGS="-fplugin-arg-dragonegg-llvm-ir-optimize=0"
> else
> LLVMCC_EMITIR_FLAG="-emit-llvm"
> LLVMCC_DISABLEOPT_FLAGS="-mllvm -disable-llvm-optzns"
> diff --git a/configure b/configure
> index 20dc65e..0b10a90 100755
> --- a/configure
> +++ b/configure
> @@ -22245,7 +22245,7 @@ echo "${ECHO_T}$llvm_cv_llvmgcc_dragonegg">&6; }
>
> if test "$llvm_cv_llvmgcc_dragonegg" = "yes" ; then
> LLVMCC_EMITIR_FLAG="-fplugin-arg-dragonegg-emit-ir"
> - LLVMCC_DISABLEOPT_FLAGS="-fplugin-arg-dragonegg-disable-llvm-optzns"
> + LLVMCC_DISABLEOPT_FLAGS="-fplugin-arg-dragonegg-llvm-ir-optimize=0"
> else
> LLVMCC_EMITIR_FLAG="-emit-llvm"
> LLVMCC_DISABLEOPT_FLAGS="-mllvm -disable-llvm-optzns"
> --
> 1.7.3.4
More information about the llvm-commits
mailing list