From 145ccc38fe1c9b518e416e802a9e9583c0573605 Mon Sep 17 00:00:00 2001 From: Michal Bielicki Date: Sun, 10 Feb 2008 12:50:56 +0000 Subject: [PATCH] suncc options have to check if I can find some more specific mmx annd sse stuff than just native plus fast optimisation git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7578 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/voipcodecs/configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libs/voipcodecs/configure.ac b/libs/voipcodecs/configure.ac index 5e31290d12..3efe5402cf 100644 --- a/libs/voipcodecs/configure.ac +++ b/libs/voipcodecs/configure.ac @@ -273,6 +273,15 @@ gnu) 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" ;;