1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

Detect PathScale compiler

Originally committed as revision 24552 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-07-27 18:55:21 +00:00
parent 6f2c05f307
commit 349d78fe62

8
configure vendored
View File

@ -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 ||