This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Thu, Oct 22, 2015 at 7:56 AM, Andreas Schwab <schwab@suse.de> wrote:
> "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,".

It will won't set ac_default_compressed_debug_sections to yes for

--enable-compressed-debug-sections=not,yes

but only for

--enable-compressed-debug-sections=yes

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]