Browse Source

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.
tags/n1.2
Diego Biurrun 12 years ago
parent
commit
528878ee7b
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      configure

+ 0
- 6
configure View File

@@ -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)'


Loading…
Cancel
Save