summaryrefslogtreecommitdiffstats
path: root/patches/gdb-6.8/Makefile_in_cppflags.diff
blob: f9fcc4b8f91221040548f358a29fbf807b294368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From: Marc Kleine-Budde <m.kleine-budde@pengutronix.de>
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 <m.kleine-budde@pengutronix.de>
---
 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 =