[FFmpeg-devel] [PATCH v2 2/2] configure: cleanup unused checks for symver
Natanael Copa
ncopa at alpinelinux.org
Mon May 30 11:03:25 CEST 2016
Nothing uses symvers since commit d63443b9 (lavc: drop the
av_fast_{re,m}alloc compatibility wrappers).
Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>
---
configure | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/configure b/configure
index cc2c9e7..e40b90e 100755
--- a/configure
+++ b/configure
@@ -358,7 +358,6 @@ Toolchain options:
Advanced options (experts only):
--malloc-prefix=PREFIX prefix malloc and related names with PREFIX
--custom-allocator=NAME use a supported custom allocator
- --disable-symver disable symbol versioning
--enable-hardcoded-tables use hardcoded tables instead of runtime generation
--disable-safe-bitstream-reader
disable buffer boundary checking in bitreaders
@@ -1782,7 +1781,6 @@ BUILTIN_LIST="
"
HAVE_LIST_CMDLINE="
inline_asm
- symver
yasm
"
@@ -1956,8 +1954,6 @@ TOOLCHAIN_FEATURES="
inline_asm_nonlocal_labels
pragma_deprecated
rsync_contimeout
- symver_asm_label
- symver_gnu_asm
vfp_args
xform_asm
xmm_clobbers
@@ -2260,7 +2256,6 @@ fast_unaligned_if_any="aarch64 ppc x86"
simd_align_16_if_any="altivec neon sse"
# system capabilities
-symver_if_any="symver_asm_label symver_gnu_asm"
valgrind_backtrace_deps="!optimizations valgrind_valgrind_h"
# threading support
@@ -4574,7 +4569,6 @@ case $target_os in
enabled shared && add_ldflags -Wl,-brtl
;;
android)
- disable symver
enable section_data_rel_ro
SLIB_INSTALL_NAME='$(SLIBNAME)'
SLIB_INSTALL_LINKS=
@@ -4602,13 +4596,11 @@ case $target_os in
SLIB_CREATE_DEF_CMD='$(Q)perl $(SRC_PATH)/compat/solaris/make_sunver.pl $$(filter %.ver,$$^) $(OBJS) | grep -v @ > $(SUBDIR)lib$(NAME).ver-sol2'
;;
netbsd)
- disable symver
oss_indev_extralibs="-lossaudio"
oss_outdev_extralibs="-lossaudio"
enabled gcc || check_ldflags -Wl,-zmuldefs
;;
openbsd|bitrig)
- disable symver
SHFLAGS='-shared'
SLIB_INSTALL_NAME='$(SLIBNAME).$(LIBMAJOR).$(LIBMINOR)'
SLIB_INSTALL_LINKS=
@@ -4616,7 +4608,6 @@ case $target_os in
oss_outdev_extralibs="-lossaudio"
;;
dragonfly)
- disable symver
;;
freebsd)
;;
@@ -4699,7 +4690,6 @@ case $target_os in
fi
;;
win32|win64)
- disable symver
if enabled shared; then
# Link to the import library instead of the normal static library
# for shared libs.
@@ -6011,15 +6001,6 @@ elif test_ldflags -Wl,-M,$TMPV; then
append SHFLAGS '-Wl,-M,\$(SUBDIR)lib\$(NAME).ver-sol2'
fi
-check_cc <<EOF && enable symver_asm_label
-void ff_foo(void) __asm__ ("av_foo at VERSION");
-void ff_foo(void) { ${inline_asm+__asm__($quotes);} }
-EOF
- check_cc <<EOF && enable symver_gnu_asm
-__asm__(".symver ff_foo,av_foo at VERSION");
-void ff_foo(void) {}
-EOF
-
if [ -z "$optflags" ]; then
if enabled small; then
optflags=$cflags_size
@@ -6073,8 +6054,6 @@ if enabled icc; then
check_ldflags -wd10156,11030
# icc 11.0 and 11.1 work with ebp_available, but don't pass the test
enable ebp_available
- # The test above does not test linking
- enabled lto && disable symver_asm_label
if enabled x86_32; then
icc_version=$($cc -dumpversion)
test ${icc_version%%.*} -ge 11 &&
--
2.8.3
More information about the ffmpeg-devel
mailing list