[FFmpeg-devel] [PATCH] OpenBSD suport

Brad Smith brad at comstyle.com
Sun Feb 16 21:25:28 EET 2020


On Sun, Feb 16, 2020 at 03:51:26PM +0100, Michael Niedermayer wrote:
> On Sat, Feb 15, 2020 at 03:29:41PM -0500, Brad Smith wrote:
> > - Garbage collect bitrig. Was a OpenBSD derivative that has been dead for quite awhile.
> > - Enable section_data_rel_ro for ARM support.
> 
> are these 2 changes related ?
> if not, then they should not be in the same patch
> 
> thx
> 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> Complexity theory is the science of finding the exact solution to an
> approximation. Benchmarking OTOH is finding an approximation of the exact

Ok, separated out the first part.


Enable section_data_rel_ro for ARM support.

diff --git a/configure b/configure
index ab761c7183..06e3a7b2a8 100755
--- a/configure
+++ b/configure
@@ -5305,6 +5305,7 @@ case $target_os in
         ;;
     openbsd|bitrig)
         disable symver
+        enable section_data_rel_ro
         striptype=""
         SHFLAGS='-shared'
         SLIB_INSTALL_NAME='$(SLIBNAME).$(LIBMAJOR).$(LIBMINOR)'


More information about the ffmpeg-devel mailing list