On Wed, Aug 08, 2007 at 09:45:00AM -0500, Arthur Haas wrote:
>
> > -----Original Message-----
> > [ ... snip ... ]
> >
> > > CRTSTUFF_T_CFLAGS_S = $(CRTSTUFF_T_CFLAGS) -fPIC
> > >
> > > How do you use +=?
> >
> > Sorry, I was looking at an old checkout.
> >
> > Could you simply test patching config/i386/t-crtstuff like this:
> >
> > -CRTSTUFF_T_CFLAGS = -fno-omit-frame-pointer
> > -fno-asynchronous-unwind-tables
> > +CRTSTUFF_T_CFLAGS += -fno-omit-frame-pointer
> > -fno-asynchronous-unwind-tables
> >
> > (It would be great if you, H.J., tested on Linux, and Art tested on
> > Solaris 10).
> >
> > Thanks,
> >
> > Paolo
>
> Hi.
>
> Making the change above results in a successful build. Quite a
> difference what a '+' can make.
>
This patch works fine on Linux/x86 and Linux/x86-64.
H.J.
---
2007-08-08 Paolo Bonzini <[EMAIL PROTECTED]>
* config/i386/t-crtstuff (CRTSTUFF_T_CFLAGS): Use +=.
--- gcc/config/i386/t-crtstuff.sol2 2007-08-06 17:05:40.000000000 -0700
+++ gcc/config/i386/t-crtstuff 2007-08-08 06:56:17.000000000 -0700
@@ -4,4 +4,4 @@
# section. -fno-asynchronous-unwind-tables is off by default for i386
# and is on by default for x86-64. We turn it off for both i386 and
# x86-64.
-CRTSTUFF_T_CFLAGS = -fno-omit-frame-pointer -fno-asynchronous-unwind-tables
+CRTSTUFF_T_CFLAGS += -fno-omit-frame-pointer -fno-asynchronous-unwind-tables