From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21565 invoked by alias); 24 Jan 2008 17:20:48 -0000 Received: (qmail 21550 invoked by uid 22791); 24 Jan 2008 17:20:46 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 24 Jan 2008 17:20:28 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.1/8.14.1) with ESMTP id m0OHKKxM016195; Thu, 24 Jan 2008 18:20:20 +0100 (CET) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.1/8.14.1/Submit) id m0OHKJsv009187; Thu, 24 Jan 2008 18:20:19 +0100 (CET) Date: Thu, 24 Jan 2008 17:20:00 -0000 Message-Id: <200801241720.m0OHKJsv009187@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: ARistovski@qnx.com CC: gdb@sourceware.org In-reply-to: (message from Aleksandar Ristovski on Thu, 24 Jan 2008 10:07:47 -0500) Subject: Re: MT_CFLAGS References: Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00253.txt.bz2 > From: Aleksandar Ristovski > Date: Thu, 24 Jan 2008 10:07:47 -0500 > > Hello, > > I see that MT_CFLAGS is gone from Makefile.in. > > What is the alternative to getting the same result? I need to add a target > specific #define to CC, e.g. -DMY_DEFINE. What is the correct approach? If this is needed for building a native debugger, the correct approach is to add an autoconf "check" that results in the right symbol being defined in config.h. If this is needed for building target-specific code, you're doing something wrong. The code for that should not depend on any predefined symbols.