[PATCH libevdev 2/2] Reintroduce -fstack-protector

Giovanni Campagna scampa.giovanni at gmail.com
Fri Sep 13 01:49:38 PDT 2013


2013/9/12 David Herrmann <dh.herrmann at gmail.com>:
> We removed this previously due to build failures in:
>
>   commit 14ac764ec86452ca607403f314b0f8355d80290c
>   Author: David Herrmann <dh.herrmann at gmail.com>
>   Date:   Mon Sep 9 16:03:41 2013 +0200
>
>       build: remove -fstack-protector
>
> Reintroduce it but this time disable it if it's not supported. We use the
> CC-flags testing to prevent build-failures on gcc without libssp support.

Problem: you only compile check the flag, but the failure happens at link time.
So ostree is failing again.

Btw, this applies also to the LDFLAGS above, you need CC_CHECK_LDFLAGS instead.

Giovanni


More information about the Input-tools mailing list