aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-01-23 23:08:40 +0100
committerDiego Biurrun <diego@biurrun.de>2013-01-24 10:39:17 +0100
commit528878ee7b377e23a194d7c801571d97793047e0 (patch)
tree4e99ad5c011c3fd812425cc548d5cf00d4a5a6b6
parent4a4a7e138c92901e04db46a6b05cc6948023e5f5 (diff)
downloadffmpeg-528878ee7b377e23a194d7c801571d97793047e0.tar.gz
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.
-rwxr-xr-xconfigure6
1 files changed, 0 insertions, 6 deletions
diff --git a/configure b/configure
index 144ec2d396..87045f25ee 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)'