mirror of https://git.ffmpeg.org/ffmpeg.git
Detect PathScale compiler
Originally committed as revision 24552 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6f2c05f307
commit
349d78fe62
|
@ -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 ||
|
||||
|
|
Loading…
Reference in New Issue