aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/configure b/gdb/configure
index 701cfcb..26a00d8 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -731,6 +731,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+COMPILER_CFLAGS
COMPILER
INSTALL_STRIP_PROGRAM
STRIP
@@ -5015,12 +5016,15 @@ fi
if test "$enable_build_with_cxx" = "yes"; then
COMPILER='$(CXX)'
+ COMPILER_CFLAGS='$(CXXFLAGS)'
else
COMPILER='$(CC)'
+ COMPILER_CFLAGS='$(CFLAGS)'
fi
+
# Dependency checking.
rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null