From patchwork Sat Nov 15 08:51:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 3759 Received: (qmail 16403 invoked by alias); 15 Nov 2014 08:52:03 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 16350 invoked by uid 89); 15 Nov 2014 08:52:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 15 Nov 2014 08:52:01 +0000 Received: from svr-orw-fem-06.mgc.mentorg.com ([147.34.97.120]) by relay1.mentorg.com with esmtp id 1XpZ5K-0001MS-J2 from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Sat, 15 Nov 2014 00:51:58 -0800 Received: from qiyao.dyndns.org.com (147.34.91.1) by SVR-ORW-FEM-06.mgc.mentorg.com (147.34.97.120) with Microsoft SMTP Server id 14.3.181.6; Sat, 15 Nov 2014 00:51:57 -0800 From: Yao Qi To: Subject: [PATCH] Don't set CC in config/i386/go32.mh Date: Sat, 15 Nov 2014 16:51:43 +0800 Message-ID: <1416041503-29957-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 X-IsSubscribed: yes I cross-compile gdb for msdosdjgpp (both target and host is i586-pc-msdosdjgpp), so the CC should be i586-pc-msdosdjgpp-gcc. However, CC is set incorrectly to gcc after config/i386/go32.mh is inlined into the Makefile. This patch is to remove the CC setting in config/i386/go32.mh. Is it OK? gdb: 2014-11-15 Yao Qi * config/i386/go32.mh (CC): Remove. --- gdb/config/i386/go32.mh | 1 - 1 file changed, 1 deletion(-) diff --git a/gdb/config/i386/go32.mh b/gdb/config/i386/go32.mh index b0ab60c..f1edfad 100644 --- a/gdb/config/i386/go32.mh +++ b/gdb/config/i386/go32.mh @@ -6,7 +6,6 @@ MH_CFLAGS= -I$(srcdir)/config/djgpp NATDEPFILES= go32-nat.o x86-nat.o x86-dregs.o HOST_IPC= -CC= gcc XM_CLIBS= -ldbg