[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Correct way to remove compiler flag
From: |
Gary V. Vaughan |
Subject: |
Re: Correct way to remove compiler flag |
Date: |
Fri, 10 Sep 2004 16:16:55 +0100 |
User-agent: |
Mozilla Thunderbird 0.7 (X11/20040615) |
Stephen torri wrote:
> In a project which I particpate with there are certain compiler flags
> that need to be removed from the CFLAGS because they cause problems with
> the compiled code.
>
> For example if with a imaginary compiler I had the flags:
>
> CFLAGS="-a -b -c d"
>
> For a large part of the project the CFLAGS are fine but a few files
> cannot have '-c'.
>
> How do I remove it safely without redefinine CFLAGS within the
> Makefile.am file?
object_that_breaks_with_c_CFLAGS = -a -b -d
Cheers,
Gary.
--
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature