diff --git a/configure.ac b/configure.ac index 0b0ad9b3a..3351bfc2c 100644 --- a/configure.ac +++ b/configure.ac @@ -143,10 +143,10 @@ AC_SUBST(CFG_WITH_LONGTESTS) AC_MSG_RESULT($CFG_WITH_LONGTESTS) # Compiler flags (ensure they are not empty to avoid configure defaults) -CFLAGS+=" " -CPPFLAGS+=" " -CXXFLAGS+=" " -LDFLAGS+=" " +CFLAGS="$CFLAGS " +CPPFLAGS="$CPPFLAGS " +CXXFLAGS="$CXXFLAGS " +LDFLAGS="$LDFLAGS " # Checks for programs. AC_PROG_CC