Skip to content
  • 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
    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
Loading