summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-11-09 22:52:46 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-11-09 22:52:46 +0000
commita7b9c8aefd52fdae8320b419e684415998b7c43a (patch)
treeece1cda23c302f14a83c5e9b4ea1e6fa8944255a /configure
parentc47ca25e74bbe465cdc8b99d4f6ab4f0ad5e4229 (diff)
downloadffmpeg-streaming-a7b9c8aefd52fdae8320b419e684415998b7c43a.zip
ffmpeg-streaming-a7b9c8aefd52fdae8320b419e684415998b7c43a.tar.gz
Attempt to document the "enable pic" hackery for OpenBSD.
Originally committed as revision 20491 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
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"
OpenPOWER on IntegriCloud