From: Måns Rullgård Date: Tue, 27 Jul 2010 18:55:21 +0000 (+0000) Subject: Detect PathScale compiler X-Git-Tag: v0.7b2~3141 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=349d78fe628bf649b614fc4f19f8cf90575ee5cd;p=coroid%2Flibav_saccubus.git Detect PathScale compiler Originally committed as revision 24552 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/configure b/configure index 7e70dfbbe..b6f56caa9 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 ||