diff options
author | Brad Smith <brad@comstyle.com> | 2023-12-24 14:33:31 -0500 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-12-25 23:52:37 +0100 |
commit | 6066c430e33b4cbf5dc8ff8b3a6d149f51d20300 (patch) | |
tree | 5fb12f12366d1dfa9f5322e5e04668cd6055b5fc /configure | |
parent | f5f414d9c4bef90cb8986c0b71abd3c87a68fe4d (diff) | |
download | ffmpeg-6066c430e33b4cbf5dc8ff8b3a6d149f51d20300.tar.gz |
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@comstyle.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5618,6 +5618,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 @@ -5636,6 +5637,7 @@ case $target_os in disable symver ;; freebsd) + enable section_data_rel_ro ;; bsd/os) add_extralibs -lpoll -lgnugetopt |