Commit 9c555bca authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '528878ee'

* commit '528878ee':
  openbsd: configure: Stop enabling PIC by default

Conflicts:
	configure
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents b4581e93 528878ee
......@@ -3154,12 +3154,6 @@ case $target_os in
enabled gcc || check_ldflags -Wl,-zmuldefs
;;
openbsd|bitrig)
# 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
disable symver
SHFLAGS='-shared'
SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBVERSION)'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment