[MPlayer-cvslog] r31880 - trunk/configure
diego
subversion at mplayerhq.hu
Sun Aug 1 00:15:49 CEST 2010
Author: diego
Date: Sun Aug 1 00:15:49 2010
New Revision: 31880
Log:
Default to -O2 optimization level for the clang compiler.
patch by Rowan James, rowanj phere net
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Sun Aug 1 00:02:55 2010 (r31879)
+++ trunk/configure Sun Aug 1 00:15:49 2010 (r31880)
@@ -2553,6 +2553,8 @@ elif test -z "$CFLAGS" ; then
CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer -wd167 -wd556 -wd144"
elif test "$cc_vendor" = "sun" ; then
CFLAGS="-O2 $_march $_mcpu $_pipe -xc99 -xregs=frameptr"
+ elif test "$cc_vendor" = "clang"; then
+ CFLAGS="-O2 $_march $_pipe"
elif test "$cc_vendor" != "gnu" ; then
CFLAGS="-O2 $_march $_mcpu $_pipe"
else
More information about the MPlayer-cvslog
mailing list