diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-11-08 22:39:10 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-11-08 22:39:10 +0000 |
commit | 5f36d94d9d8b4b27287156b494853ccea4a5c1bf (patch) | |
tree | e018bb9a95ebfd9970bea40f31ccbd23088ae32a | |
parent | a16f80f392e0979b2ca0c598087a8c87f3ec824d (diff) | |
download | ffmpeg-5f36d94d9d8b4b27287156b494853ccea4a5c1bf.tar.gz |
Set -DPREFIX for yasm simply whenever extern_prefix is set instead
of hardcoding it based on the object format.
Originally committed as revision 20478 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2232,10 +2232,10 @@ EOF YASMFLAGS="-f $objformat -DARCH_$(toupper $subarch)" enabled x86_64 && append YASMFLAGS "-m amd64" enabled pic && append YASMFLAGS "-DPIC" + test -n "$extern_prefix" && append YASMFLAGS "-DPREFIX" case "$objformat" in elf) enabled debug && append YASMFLAGS "-g dwarf2" ;; - macho64) append YASMFLAGS "-DPIC -DPREFIX" ;; - *) append YASMFLAGS "-DPREFIX" ;; + macho64) append YASMFLAGS "-DPIC" ;; esac disabled yasm || { check_yasm "pabsw xmm0, xmm0" && enable yasm; } |