]> git.sesse.net Git - ffmpeg/commitdiff
openbsd: configure: Stop enabling PIC by default
authorDiego Biurrun <diego@biurrun.de>
Wed, 23 Jan 2013 22:08:40 +0000 (23:08 +0100)
committerDiego Biurrun <diego@biurrun.de>
Thu, 24 Jan 2013 09:39:17 +0000 (10:39 +0100)
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.

configure

index 144ec2d396e623e3dba14a76aa54d80f2179a095..87045f25eeab349b4a2a973649644cb539bdcfdc 100755 (executable)
--- 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)'