[PATCH] Pass CFLAGS when linking in pe-run2.exp
Nicholas Clifton
nickc@redhat.com
Fri May 29 10:53:00 GMT 2015
Hi Stephen,
> I'm not too sure about this one... I noticed that pe-run2.exp was failing
> with i686-w64-mingw-gcc on my system, and it turns out that the build was
> picking up -fstack-protector-strong. Both gcc and ld need that flag to link
> the executable.
The patch is fine. I have checked it in along with this changelog entry.
Cheers
Nick
ld/testsuite/ChangeLog
2015-05-29 Stephen Kitt <steve@sk2.org>
* ld-pe/pe-run2.exp (test_direct2_link_dll): Add $CFLAGS to the
compiler command line.
More information about the Binutils
mailing list