diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-11-08 14:50:47 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-11-08 14:50:47 +0000 |
commit | a34ebe60e969d6575ff872dc3f2a0b222420463d (patch) | |
tree | 5efd35d02a576bfad0b9cf79246b4f4525f61e3a /configure | |
parent | 609d864611b3950297537457acc088082a05a9b6 (diff) | |
download | ffmpeg-a34ebe60e969d6575ff872dc3f2a0b222420463d.tar.gz |
Always add -DPIC to YASM flags when pic is enabled.
This covers the previous case of x86_64 and shared, but also
works with --enable-pic.
For 32 bit x86 it currently makes no difference since x86inc.asm
ignores -DPIC for non-x86_64.
Originally committed as revision 20476 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2231,7 +2231,7 @@ EOF YASMFLAGS="-f $objformat -DARCH_$(toupper $subarch)" enabled x86_64 && append YASMFLAGS "-m amd64" - enabled_all x86_64 shared && append YASMFLAGS "-DPIC" + enabled pic && append YASMFLAGS "-DPIC" case "$objformat" in elf) enabled debug && append YASMFLAGS "-g dwarf2" ;; macho64) append YASMFLAGS "-DPIC -DPREFIX" ;; |