PR/32009 and PR/32161, use CFLAGS_FOR_TARGET for bootstrapped target libraries

Uros Bizjak ubizjak@gmail.com
Wed Feb 20 18:25:00 GMT 2008


Uros Bizjak wrote:

>>> Why not:
>>> BOOT_CFLAGS += -mdynamic-no-pic?
>>>       
>> Preapproved :-)
>>     
I have to see what's up with my el-cheapo firewall that sometimes eats 
attachments to gmail webmail.

2008-02-20  Uros Bizjak  <ubizjak@gmail.com>

        * mh-ppc-darwin (BOOT_CFLAGS): Use +=, not =.

Patch was not tested, since I have no PPC darwin, but is simple enough.

Index: mh-ppc-darwin
===================================================================
--- mh-ppc-darwin       (revision 132482)
+++ mh-ppc-darwin       (working copy)
@@ -2,4 +2,4 @@
 # position-independent-code -- the usual default on Darwin. This fix speeds
 # compiles by 3-5%.
 
-BOOT_CFLAGS=-g -O2 -mdynamic-no-pic
+BOOT_CFLAGS += -mdynamic-no-pic



More information about the Gcc-patches mailing list