aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-27 18:55:21 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-27 18:55:21 +0000
commit349d78fe628bf649b614fc4f19f8cf90575ee5cd (patch)
tree8d5b5b97cd1ac088ce76bf0b6e361c397774bed9
parent6f2c05f3079dad4eec12dcc33cb46e1e37111192 (diff)
downloadffmpeg-349d78fe628bf649b614fc4f19f8cf90575ee5cd.tar.gz
Detect PathScale compiler
Originally committed as revision 24552 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index 7e70dfbbe5..b6f56caa98 100755
--- a/configure
+++ b/configure
@@ -1934,6 +1934,14 @@ elif $cc -V 2>&1 | grep -q Sun; then
esac
done
}
+elif $cc -v 2>&1 | grep -q PathScale; then
+ cc_type=pathscale
+ cc_version=__PATHSCALE__
+ cc_ident=$($cc -v 2>&1 | head -n1 | tr -d :)
+ CC_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
+ AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
+ speed_cflags='-O2'
+ size_cflags='-Os'
fi
test -n "$cc_type" && enable $cc_type ||