With no C++ compiler needed, there is no need to set the
CXXFLAGS or log it during configure. Furthermore, forcing
outdated C11 standard is not a good idea considering compilers
have moved on. We should not limit our feature set, including
compiler warnings, to old standards.
])
AS_IF([test x"$GCC" = "xyes"], [
# Be tough with warnings and produce less careless code
- CFLAGS="$CFLAGS -Wall -std=gnu11"
- CXXFLAGS="$CXXFLAGS -Wall " # -Weffc++" # TODO: enable when it does not print 1MB of warnings
+ CFLAGS="$CFLAGS -Wall"
])
CFLAGS="$CFLAGS -D_GNU_SOURCE"
-CXXFLAGS="$CXXFLAGS -D_GNU_SOURCE"
# =========================================================
# Select a different shell instead of the default /bin/bash
==============================================================================
Environment settings:
CFLAGS: ${CFLAGS}
- CXXFLAGS: ${CXXFLAGS}
LDFLAGS: ${LDFLAGS}
Build configuration:
cups-config: ${with_cups_config}