]> git.baikalelectronics.ru Git - uboot.git/commit
Makefile: Ensure we build with -std=gnu11
authorTom Rini <trini@konsulko.com>
Wed, 20 Jun 2018 03:53:54 +0000 (23:53 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 21 Jun 2018 12:58:50 +0000 (08:58 -0400)
commit34a2dc536eb4203c9df3b9069de13c17518cad49
tree230f8575bad6e95b745b28bb8036e470d4ab9cc4
parentf89087039e053b56fd27a426ac36d58c182da36e
Makefile: Ensure we build with -std=gnu11

As many targets are now commonly built with gcc-6 or later (which
defaults to a newer C standard than older compilers), certain C
constructs are now being used as they produce more readable code.  And
while all compilers that we support building with support the C11
standard (and GNU11) they do not default to that standard.  Ensure that
we pass along -std=gnu11 when building.

Signed-off-by: Tom Rini <trini@konsulko.com>
Makefile