Skip to content
Snippets Groups Projects
Commit a7b9c8ae authored by Reimar Döffinger's avatar Reimar Döffinger
Browse files

Attempt to document the "enable pic" hackery for OpenBSD.

Originally committed as revision 20491 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c47ca25e
No related branches found
No related tags found
No related merge requests found
...@@ -1916,6 +1916,10 @@ case $target_os in ...@@ -1916,6 +1916,10 @@ case $target_os in
;; ;;
openbsd) openbsd)
enable malloc_aligned enable malloc_aligned
# 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 enable pic
SHFLAGS='-shared' SHFLAGS='-shared'
oss_indev_extralibs="-lossaudio" oss_indev_extralibs="-lossaudio"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment