Re: [PATCH 4/7] arc: replace cc-option-yn uses with cc-option

2021-08-24 Thread Masahiro Yamada
On Wed, Aug 18, 2021 at 10:40 AM Nathan Chancellor wrote: > > > > On 8/17/2021 11:07 AM, 'Nick Desaulniers' via Clang Built Linux wrote: > > On Mon, Aug 16, 2021 at 7:05 PM Nathan Chancellor wrote: > >> > >> On 8/16/2021 5:21 PM, 'Nick Desaulniers' via Clang Built Linux wrote: > >>> cc-option-yn

Re: [PATCH 4/7] arc: replace cc-option-yn uses with cc-option

2021-08-17 Thread Nathan Chancellor
On 8/17/2021 11:07 AM, 'Nick Desaulniers' via Clang Built Linux wrote: On Mon, Aug 16, 2021 at 7:05 PM Nathan Chancellor wrote: On 8/16/2021 5:21 PM, 'Nick Desaulniers' via Clang Built Linux wrote: cc-option-yn can be replaced with cc-option. ie. Checking for support: ifeq ($(call

Re: [PATCH 4/7] arc: replace cc-option-yn uses with cc-option

2021-08-17 Thread Nick Desaulniers
On Mon, Aug 16, 2021 at 7:05 PM Nathan Chancellor wrote: > > On 8/16/2021 5:21 PM, 'Nick Desaulniers' via Clang Built Linux wrote: > > cc-option-yn can be replaced with cc-option. ie. > > Checking for support: > > ifeq ($(call cc-option-yn,$(FLAG)),y) > > becomes: > > ifneq ($(call

[PATCH 4/7] arc: replace cc-option-yn uses with cc-option

2021-08-16 Thread Nick Desaulniers
cc-option-yn can be replaced with cc-option. ie. Checking for support: ifeq ($(call cc-option-yn,$(FLAG)),y) becomes: ifneq ($(call cc-option,$(FLAG)),) Checking for lack of support: ifeq ($(call cc-option-yn,$(FLAG)),n) becomes: ifeq ($(call cc-option,$(FLAG)),) This allows us to pursue