On 14.10.2016 15:02, Carl Eugen Hoyos wrote:
> 2016-10-04 12:24 GMT+02:00 Carl Eugen Hoyos <ceho...@ag.or.at>:
>> Sorry if I miss something but with this patch, the hardening_check
>> script succeeds here both for x86_32 and x86_64 (static and shared).
> Tested successfully on x86_64 and x86_32 Linux (pie actually works
> on my very old system). On Debian hppa, the patch makes no
> difference, I cannot test m68k.
I guess gcc nowadays just ignores the flag if it wouldn't work.
> Since my gcc manual states that -fPIE is needed for -pie, I decided
> to use that.
In practice it shouldn't make a difference, because -fPIC is added
to CFLAGS after -fPIE anyway, which I think overrides it.
ffmpeg-devel mailing list