From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9749 invoked by alias); 23 Mar 2010 04:48:59 -0000 Received: (qmail 9741 invoked by uid 22791); 23 Mar 2010 04:48:58 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Mar 2010 04:48:54 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id A53981B4018 for ; Tue, 23 Mar 2010 04:48:52 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH v2] gdb: fix building with system readline Date: Tue, 23 Mar 2010 04:48:00 -0000 User-Agent: KMail/1.13.1 (Linux/2.6.33.1; KDE/4.4.1; x86_64; ; ) References: <1268964553-30413-1-git-send-email-vapier@gentoo.org> In-Reply-To: <1268964553-30413-1-git-send-email-vapier@gentoo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201003230048.46088.vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00787.txt.bz2 here's the alternate version ... 2010-03-23 Mike Frysinger * 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.