Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Tom Rini's avatar
    fa893990
    Makefile: Ensure we build with -std=gnu11 · fa893990
    Tom Rini authored
    
    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: default avatarTom Rini <trini@konsulko.com>
    fa893990
    History
    Makefile: Ensure we build with -std=gnu11
    Tom Rini authored
    
    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: default avatarTom Rini <trini@konsulko.com>