[Freeswitch-svn] [commit] r7578 - freeswitch/trunk/libs/voipcodecs

Freeswitch SVN cypromis at freeswitch.org
Sun Feb 10 07:50:56 EST 2008


Author: cypromis
Date: Sun Feb 10 07:50:56 2008
New Revision: 7578

Modified:
   freeswitch/trunk/libs/voipcodecs/configure.ac

Log:
suncc options
have to check if I can find some more specific mmx annd sse stuff than just native plus fast optimisation


Modified: freeswitch/trunk/libs/voipcodecs/configure.ac
==============================================================================
--- freeswitch/trunk/libs/voipcodecs/configure.ac	(original)
+++ freeswitch/trunk/libs/voipcodecs/configure.ac	Sun Feb 10 07:50:56 2008
@@ -273,6 +273,15 @@
         COMP_VENDOR_CFLAGS="-mmmx $COMP_VENDOR_CFLAGS"
     fi
     ;;
+sun)
+    COMP_VENDOR_CFLAGS="-xc99=all -mt -xCC -errwarn=%all -xvpara"
+    if test "$enable_sse" = "yes" ; then
+        COMP_VENDOR_CFLAGS="-native -fast $COMP_VENDOR_CFLAGS"
+    fi
+    if test "$enable_mmx" = "yes" ; then
+        COMP_VENDOR_CFLAGS="-native -fast $COMP_VENDOR_CFLAGS"
+    fi
+    ;;
 *)
     COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
     ;;



More information about the Freeswitch-svn mailing list