summaryrefslogtreecommitdiffstats
path: root/patches/gdb-6.8/Makefile_in_cppflags.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gdb-6.8/Makefile_in_cppflags.diff')
-rw-r--r--patches/gdb-6.8/Makefile_in_cppflags.diff51
1 files changed, 51 insertions, 0 deletions
diff --git a/patches/gdb-6.8/Makefile_in_cppflags.diff b/patches/gdb-6.8/Makefile_in_cppflags.diff
new file mode 100644
index 000000000..f9b567415
--- /dev/null
+++ b/patches/gdb-6.8/Makefile_in_cppflags.diff
@@ -0,0 +1,51 @@
+#
+# Submitted-By: Marc Kleine-Budde, 2006-03-20
+# Committed-By: Marc Kleine-Budde
+#
+# Error:
+#
+# 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
+#
+# Description:
+#
+# gdb forgets the {LD,CPP}FLAGS_FOR_TARGET
+#
+# State:
+#
+# unknown
+#
+---
+# 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 =