Commit d8f8476d authored by reimar's avatar reimar

Set -DPREFIX for yasm simply whenever extern_prefix is set instead

of hardcoding it based on the object format.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20478 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 75c7a29d
......@@ -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; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment