[PATCH] Properly check --enable-compressed-debug-sections={yes,all}

Andreas Schwab schwab@suse.de
Thu Oct 22 14:56:00 GMT 2015


"H.J. Lu" <hjl.tools@gmail.com> writes:

> diff --git a/gas/configure.ac b/gas/configure.ac
> index 9002552..ab4dedc 100644
> --- a/gas/configure.ac
> +++ b/gas/configure.ac
> @@ -72,7 +72,7 @@ AC_ARG_ENABLE(compressed_debug_sections,
>  	      AS_HELP_STRING([--enable-compressed-debug-sections={all,gas,none}],
>  	      [compress debug sections by default])],
>  [case ,"${enableval}", in
> -  *,yes,* | *,all,* | *,gas,*) ac_default_compressed_debug_sections=yes ;;
> +  ,yes, | ,all, | *,gas,*) ac_default_compressed_debug_sections=yes ;;

What does that fix?  "*,yes,*" is a superset of ",yes,".

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Binutils mailing list