[FFmpeg-cvslog] r20491 - trunk/configure

reimar subversion
Mon Nov 9 23:52:46 CET 2009


Author: reimar
Date: Mon Nov  9 23:52:46 2009
New Revision: 20491

Log:
Attempt to document the "enable pic" hackery for OpenBSD.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Nov  9 23:10:43 2009	(r20490)
+++ trunk/configure	Mon Nov  9 23:52:46 2009	(r20491)
@@ -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"



More information about the ffmpeg-cvslog mailing list