Avoid "-z text" diversion on SunOS x86, needed to make FATE happy.
authorMichael Kostylev <michael.kostylev@gmail.com>
Mon, 26 Oct 2009 10:18:35 +0000 (10:18 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 26 Oct 2009 10:18:35 +0000 (10:18 +0000)
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 20373 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index af1fa13..b3d99a1 100755 (executable)
--- a/configure
+++ b/configure
@@ -1880,6 +1880,7 @@ case $target_os in
     sunos)
         FFSERVERLDFLAGS=""
         SHFLAGS='-shared -Wl,-h,$$(@F)'
+        enabled x86 && SHFLAGS="-mimpure-text $SHFLAGS"
         network_extralibs="-lsocket -lnsl"
         add_cppflags -D__EXTENSIONS__
         ;;