[arch-general] [arch-dev-public] Build issues due to -D_FORTIFY_SOURCE=2 in CPPFLAGS

Anatol Pomozov anatol.pomozov at gmail.com
Wed Apr 10 14:50:38 EDT 2013


On Wed, Apr 10, 2013 at 11:07 AM, Joakim Hernberg <jbh at alchemy.lu> wrote:
> On Mon, 08 Apr 2013 16:54:54 +1000
> Allan McRae <allan at archlinux.org> wrote:
>> Hi,
>> With pacman-4.1 we introduced CPPFLAGS in makepkg.conf and moved the
>> -D_FORTIFY_SOURCE=2 flag out of C{,XX}FLAGS to there (where it should
>> be).
> This of course will break wine's builtin workaround for FORTIFY_SOURCE,
> which assumed that it was in CFLAGS.  Maybe no matter as for some
> reason it wasn't working on archlinux in any case.
> It produces the following (snipped from the gcc output)
> some reason seems to produce broken code.

This also breaks 'crash' AUR package. I workaround' the issue by
'unset CPPFLAGS' before building the package


More information about the arch-general mailing list