Re: tools/lib/lk: redefinition of _FORTIFY_SOURCE (gcc-4.7.2)

From: Dirk Gouders
Date: Wed May 22 2013 - 07:27:45 EST


Borislav Petkov <bp@xxxxxxx> writes:

> Hi,
>
> On Wed, May 22, 2013 at 12:00:21PM +0200, Dirk Gouders wrote:
>> CFLAGS = -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6
>> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $(EXTRA_WARNINGS)
>> $(EXTRA_CFLAGS) -fPIC
>
> it seems someone else hit this already and fixed it too:
>
> commit d2f32479e5526a1ab3b4e43910fcb279871524ce
> Author: Marcin Slusarz <marcin.slusarz@xxxxxxxxx>
> Date: Sun Feb 17 16:03:36 2013 +0100
>
> perf tools: check if -DFORTIFY_SOURCE=2 is allowed

Yes, I should have checked the whole log and not just for one file.
And please ignore my other mail which I sent just when yours arrived ;-)

Dirk
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/