[FFmpeg-devel] [PATCH] configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm

Brad Smith brad at comstyle.com
Mon Dec 18 04:22:39 EET 2023


configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm

Signed-off-by: Brad Smith <brad at comstyle.com>
---
 configure | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index 078aa9437a..226874600a 100755
--- a/configure
+++ b/configure
@@ -5601,6 +5601,7 @@ case $target_os in
         ;;
     netbsd)
         disable symver
+        enable section_data_rel_ro
         oss_indev_extralibs="-lossaudio"
         oss_outdev_extralibs="-lossaudio"
         enabled gcc || check_ldflags -Wl,-zmuldefs
@@ -5619,6 +5620,7 @@ case $target_os in
         disable symver
         ;;
     freebsd)
+        enable section_data_rel_ro
         ;;
     bsd/os)
         add_extralibs -lpoll -lgnugetopt
-- 
2.43.0



More information about the ffmpeg-devel mailing list