[SCM] libav/experimental: 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.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:54:11 UTC 2013
The following commit has been merged in the experimental branch:
commit a34ebe60e969d6575ff872dc3f2a0b222420463d
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date: Sun Nov 8 14:50:47 2009 +0000
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
diff --git a/configure b/configure
index 748c5bf..ba59e52 100755
--- a/configure
+++ b/configure
@@ -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" ;;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list