This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v2] gdb: fix building with system readline
here's the alternate version ...
2010-03-23 Mike Frysinger <vapier@gentoo.org>
* gdb/Makefile.in (OPCODES_CFLAGS): Add -I$(OPCODES_SRC)/..
--- gdb/Makefile.in 10 Mar 2010 18:20:05 -0000 1.1115
+++ gdb/Makefile.in 23 Mar 2010 04:47:14 -0000
@@ -309,7 +309,8 @@ OPCODES = $(OPCODES_DIR)/libopcodes.a
# Where are the other opcode tables which only have header file
# versions?
OP_INCLUDE = $(INCLUDE_DIR)/opcode
-OPCODES_CFLAGS = -I$(OP_INCLUDE)
+# Some source files like to use #include "opcodes/file.h"
+OPCODES_CFLAGS = -I$(OP_INCLUDE) -I$(OPCODES_SRC)/..
# The simulator is usually nonexistent; targets that include one
# should set this to list all the .o or .a files to be linked in.