-fstack-protector - Build Break.

Christian Ambach ambi at samba.org
Wed May 15 08:32:07 MDT 2013


Am 06.03.13 02:00, schrieb Ira Cooper:
> The correct thing to do is:
>
> If we compile with -fstack-protector, we link with -fstack-protector.  Fix
> included, please push, if appropriate.
>

To add to the fun with this flag on different platforms:
This one breaks the build on AIX with xlc as it is accepted in CFLAGS,
but not in LDFLAGS.

So I am proposing the attached patch to fix the build on AIX.

Cheers,
Christian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-waf-only-use-fstack-protector-when-both-compiler-and.patch
Type: text/x-patch
Size: 997 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130515/34ad8ba3/attachment.bin>


More information about the samba-technical mailing list