Extend the previous change to C++ builds.

This commit is contained in:
Juan Jose Garcia Ripoll 2009-07-02 11:09:24 +02:00
parent a44afe8b19
commit da26e27de1
2 changed files with 4 additions and 0 deletions

2
src/configure vendored
View file

@ -4820,6 +4820,7 @@ if test "$with_debug_cflags" = "yes"; then
fi
if test "$with_debug_cflags" != "no"; then
CFLAGS="$with_debug_cflags $CFLAGS"
CXXFLAGS="$with_debug_cflags $CXXFLAGS"
LDFLAGS="$with_debug_cflags $LDFLAGS"
fi
if test "$with_profile_cflags" = "yes"; then
@ -4827,6 +4828,7 @@ if test "$with_profile_cflags" = "yes"; then
fi
if test "$with_profile_cflags" != "no"; then
CFLAGS="$with_profile_cflags $CFLAGS"
CXXFLAGS="$with_profile_cflags $CFLAGS"
LDFLAGS="$with_profile_cflags $LDFLAGS"
fi

View file

@ -329,6 +329,7 @@ if test "$with_debug_cflags" = "yes"; then
fi
if test "$with_debug_cflags" != "no"; then
CFLAGS="$with_debug_cflags $CFLAGS"
CXXFLAGS="$with_debug_cflags $CXXFLAGS"
LDFLAGS="$with_debug_cflags $LDFLAGS"
fi
if test "$with_profile_cflags" = "yes"; then
@ -336,6 +337,7 @@ if test "$with_profile_cflags" = "yes"; then
fi
if test "$with_profile_cflags" != "no"; then
CFLAGS="$with_profile_cflags $CFLAGS"
CXXFLAGS="$with_profile_cflags $CFLAGS"
LDFLAGS="$with_profile_cflags $LDFLAGS"
fi