The Solaris linker will correctly mark an executable with each instruction set 
it
encounters when building an executable. However, our libraries have their own
functionality and guards for processor-specific code.

So, instead suppress creation of the hardware capabilities ELF section.
---
 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index d5635f4..b852274 100755
--- a/configure
+++ b/configure
@@ -2369,6 +2369,7 @@ case $target_os in
         enabled x86 && SHFLAGS="-mimpure-text $SHFLAGS"
         network_extralibs="-lsocket -lnsl"
         add_cppflags -D__EXTENSIONS__
+        echo "hwcap_1 = OVERRIDE;" > mapfile && add_ldflags -Wl,-M,mapfile
         nm_opts='-P -g'
         ;;
     netbsd)
-- 
1.7.6

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to