[SCM] libav/experimental: Attempt to document the "enable pic" hackery for OpenBSD.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:54:16 UTC 2013
The following commit has been merged in the experimental branch:
commit a7b9c8aefd52fdae8320b419e684415998b7c43a
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date: Mon Nov 9 22:52:46 2009 +0000
Attempt to document the "enable pic" hackery for OpenBSD.
Originally committed as revision 20491 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/configure b/configure
index eb993d3..a1da72f 100755
--- a/configure
+++ b/configure
@@ -1916,6 +1916,10 @@ case $target_os in
;;
openbsd)
enable malloc_aligned
+ # on OpenBSD 4.5. the compiler does not use PIC unless explicitly using
+ # -fPIC. FFmpeg builds fine without PIC, however the generated executable
+ # will not do anything (simply quits with exit-code 1, no crash, no output).
+ # Thus explicitly enable PIC here.
enable pic
SHFLAGS='-shared'
oss_indev_extralibs="-lossaudio"
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list