diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-11-10 12:57:28 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-11-10 12:57:28 +0000 |
commit | 5755bc88e51a82dd00897d840df2a688631da768 (patch) | |
tree | 4a3696f43b2874f2c2c4319db38fb0febfbbc5ff /libavutil/rational.c | |
parent | 00fa73f052c1c0c0185ee4d2accb8fba065132f1 (diff) | |
download | ffmpeg-5755bc88e51a82dd00897d840df2a688631da768.tar.gz |
Check if PIC is somehow already enabled (e.g. a compiler that enables it by default).
This in particular ensures that -DPIC is set appropriately for YASM, which avoids
linking failures on x86_64 for compilers that have PIE enabled by default
(e.g. hardened Gentoo).
It also makes the macho64 special-case hack adding -DPIC to YASMFLAGS obsolete.
Originally committed as revision 20497 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/rational.c')
0 files changed, 0 insertions, 0 deletions