[FFmpeg-cvslog] openbsd: configure: Stop enabling PIC by default
Diego Biurrun
git at videolan.org
Thu Jan 24 14:34:34 CET 2013
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Jan 23 23:08:40 2013 +0100| [528878ee7b377e23a194d7c801571d97793047e0] | committer: Diego Biurrun
openbsd: configure: Stop enabling PIC by default
Previously PIC was enabled as a magic workaround for binaries that
built fine, but failed to function at all. This problem no longer
exists, possibly since the introduction of symbol versioning.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=528878ee7b377e23a194d7c801571d97793047e0
---
configure | 6 ------
1 file changed, 6 deletions(-)
diff --git a/configure b/configure
index 144ec2d..87045f2 100755
--- a/configure
+++ b/configure
@@ -2853,12 +2853,6 @@ case $target_os in
oss_outdev_extralibs="-lossaudio"
;;
openbsd|bitrig)
- # On OpenBSD 4.5. the compiler does not use PIC unless
- # explicitly using -fPIC. Libav 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
disable symver
SHFLAGS='-shared'
SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBVERSION)'
More information about the ffmpeg-cvslog
mailing list