[PATCH libdrm] xf86drm: fix compile error for declare i in for loop

Emil Velikov emil.l.velikov at gmail.com
Thu May 18 13:46:57 UTC 2017


On 18 May 2017 at 13:47, Eric Engestrom <eric.engestrom at imgtec.com> wrote:

>> > Yes, I think you should change your build command. It's a shame that
>> > autotools has this bug, but we'd like to avoid changing our codebase to
>> > work around these, and in this case, it would mean dropping the C99
>> > requirement and having to downgrade the whole codebase to something
>> > older.
>> >
>> Again you're miles off, I'm afraid.
>>
>> Overrides is a make thing, which allows you to use [normally
>> temporary] clever things.
>> For example:
>> - increase/decrease warning levels of part A in your project
>> - change optimisation level of components B
>
> I have no issue with any of this, as long as flags are in $*FLAGS :)
>
AFAICT things such as -std=c99 belong to CC, since it implies the
compiler itself.
In a same way the "single-Unix-approved" /usr/bin/c99 does "exec gcc
-std=c99 ${1+"$@"}"

-Emil


More information about the dri-devel mailing list