You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-16 08:36:51 +02:00
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>
(cherry picked from commit 6066c430e3
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
b6fa0f9d08
commit
fdd8cda940
2
configure
vendored
2
configure
vendored
@@ -5369,6 +5369,7 @@ case $target_os in
|
|||||||
;;
|
;;
|
||||||
netbsd)
|
netbsd)
|
||||||
disable symver
|
disable symver
|
||||||
|
enable section_data_rel_ro
|
||||||
oss_indev_extralibs="-lossaudio"
|
oss_indev_extralibs="-lossaudio"
|
||||||
oss_outdev_extralibs="-lossaudio"
|
oss_outdev_extralibs="-lossaudio"
|
||||||
enabled gcc || check_ldflags -Wl,-zmuldefs
|
enabled gcc || check_ldflags -Wl,-zmuldefs
|
||||||
@@ -5387,6 +5388,7 @@ case $target_os in
|
|||||||
disable symver
|
disable symver
|
||||||
;;
|
;;
|
||||||
freebsd)
|
freebsd)
|
||||||
|
enable section_data_rel_ro
|
||||||
;;
|
;;
|
||||||
bsd/os)
|
bsd/os)
|
||||||
add_extralibs -lpoll -lgnugetopt
|
add_extralibs -lpoll -lgnugetopt
|
||||||
|
Reference in New Issue
Block a user