[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] configure: Enforce gnu99 C language standard
From: |
Eli Schwartz |
Subject: |
Re: [PATCH 1/3] configure: Enforce gnu99 C language standard |
Date: |
Thu, 2 Apr 2020 13:13:42 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 4/2/20 1:08 PM, Daniel Kiper wrote:
>> Would we not want to override these always?
>>
>> For example, Debian/Ubuntu override HOST_CFLAGS when building grub.
>
> I was not sure about it. So, after some thinking I decided to give
> a user a chance to override C language type using *_CFLAGS. However,
> I am not so strongly tied to that. If you think we should add
> "-std=gnu99" unconditionally I am OK with that.
Under which situations would it be valid to avoid passing -std=gnu99? If
these features are used in the source, then compilers which don't
support gnu99 will fail to compile grub, wouldn't they?
--
Eli Schwartz
Arch Linux Bug Wrangler and Trusted User
signature.asc
Description: OpenPGP digital signature
[PATCH 3/3] autogen: Replace -iname with -ipath in find command, Daniel Kiper, 2020/04/02