提交 145ccc38 authored 作者: Michal Bielicki's avatar Michal Bielicki

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
上级 d37ac598
...@@ -273,6 +273,15 @@ gnu) ...@@ -273,6 +273,15 @@ gnu)
COMP_VENDOR_CFLAGS="-mmmx $COMP_VENDOR_CFLAGS" COMP_VENDOR_CFLAGS="-mmmx $COMP_VENDOR_CFLAGS"
fi 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" COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
;; ;;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论