Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
5615 commits behind the upstream repository.
  • Rodrigo Mesquita's avatar
    cdddeb0f
    Work around autotools setting C11 standard in CC/CXX · cdddeb0f
    Rodrigo Mesquita authored and Marge Bot's avatar Marge Bot committed
    In autoconf >=2.70, C11 is set by default for $CC and $CXX via the
    -std=...11 flag. In this patch, we split the "-std" flag out of the $CC
    and $CXX variables, which we traditionally assume to be just the
    executable name/path, and move it to $CFLAGS/$CXXFLAGS instead.
    
    Fixes #24324
    cdddeb0f
    History
    Work around autotools setting C11 standard in CC/CXX
    Rodrigo Mesquita authored and Marge Bot's avatar Marge Bot committed
    In autoconf >=2.70, C11 is set by default for $CC and $CXX via the
    -std=...11 flag. In this patch, we split the "-std" flag out of the $CC
    and $CXX variables, which we traditionally assume to be just the
    executable name/path, and move it to $CFLAGS/$CXXFLAGS instead.
    
    Fixes #24324
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
configure.ac 37.06 KiB