Mercurial > mplayer.hg
changeset 31803:53145096892e
Default to -O2 optimization level for the clang compiler.
patch by Rowan James, rowanj phere net
author | diego |
---|---|
date | Sat, 31 Jul 2010 22:15:49 +0000 |
parents | ee06f753ae93 |
children | 7d7c7d772b52 |
files | configure |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Jul 31 22:02:55 2010 +0000 +++ b/configure Sat Jul 31 22:15:49 2010 +0000 @@ -2553,6 +2553,8 @@ 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