From: Marc Kleine-Budde Subject: gdb forgets the {LD,CPP}FLAGS_FOR_TARGET checking for arm-softfloat-linux-gnu-dlltool... arm-softfloat-linux-gnu-dlltool checking for arm-softfloat-linux-gnu-windres... arm-softfloat-linux-gnu-windres checking for arm-softfloat-linux-gnu-mig... no checking for mig... no checking for main in -lm... yes checking for wctype... yes checking for library containing gethostbyname... none required checking for library containing socketpair... none required checking for library containing waddstr... no checking for library containing tgetent... no configure: error: no termcap library found make[2]: *** [configure-gdb] Error 1 Signed-off-by: Marc Kleine-Budde --- Makefile.in | 2 ++ 1 file changed, 2 insertions(+) Index: Makefile.in =================================================================== --- Makefile.in.orig 2008-03-27 19:23:26.000000000 +0100 +++ Makefile.in 2008-04-01 15:26:34.000000000 +0200 @@ -152,6 +152,7 @@ CC="$(CC)"; export CC; \ CFLAGS="$(CFLAGS)"; export CFLAGS; \ CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ + CPPFLAGS="$(CPPFLAGS)"; export CPPFLAGS; \ CXX="$(CXX)"; export CXX; \ CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ AR="$(AR)"; export AR; \ @@ -317,6 +318,7 @@ CFLAGS = @CFLAGS@ LDFLAGS = @LDFLAGS@ LIBCFLAGS = $(CFLAGS) +CPPFLAGS = @CPPFLAGS@ CXXFLAGS = @CXXFLAGS@ LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates PICFLAG =