[FFmpeg-cvslog] configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm
Brad Smith
git at videolan.org
Sun Apr 14 19:34:37 EEST 2024
ffmpeg | branch: release/6.0 | Brad Smith <brad at comstyle.com> | Sun Dec 24 14:33:31 2023 -0500| [13bbc0cd5b4058c19684ba684875a01cb08a2e34] | committer: Michael Niedermayer
configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm
Fixes the build. It's a requirement when utilizing PIE.
Signed-off-by: Brad Smith <brad at comstyle.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 6066c430e33b4cbf5dc8ff8b3a6d149f51d20300)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=13bbc0cd5b4058c19684ba684875a01cb08a2e34
---
configure | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
index 3cd3bdfb44..8010310351 100755
--- a/configure
+++ b/configure
@@ -5519,6 +5519,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
@@ -5537,6 +5538,7 @@ case $target_os in
disable symver
;;
freebsd)
+ enable section_data_rel_ro
;;
bsd/os)
add_extralibs -lpoll -lgnugetopt
More information about the ffmpeg-cvslog
mailing list