Hi,

Eric Sunshine <sunshine / sunshineco.com> writes:

> There are at least two obvious solutions for this problem:
> 
> (1) Keep ARCH_FLAGS (or XCFLAGS) separate; do not merge it into CFLAGS.   
> This allows mkmf's cpp_command() to use only CFLAGS, while cc_command() can  
> use both CFLAGS and ARCH_FLAGS (or XCFLAGS).
> 
> (2) Augment cpp_command() to filter out values from ARCH_FLAGS.  This seems  
> like a nasty, special-case hack.
> 
> When submitting the patch to revive the NeXT ports, I chose option #1 in  
> order to solve this problem.  If option #1 is indeed not acceptable, then  
> perhaps some other solution can be devised?

Ok.  I chose option #1, too.  Commited.  Thanks.

-- 
eban