diff options
author | Måns Rullgård <mans@mansr.com> | 2010-09-16 15:25:10 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-09-16 15:25:10 +0000 |
commit | 6de163e9bfa115d3e6b9ab3b1c82e36870a782bd (patch) | |
tree | fd3ef3a242af91c28c95e4602dba536caf869078 | |
parent | b9f5e3bd75cd509068931590dfed190d206a75fc (diff) | |
download | ffmpeg-6de163e9bfa115d3e6b9ab3b1c82e36870a782bd.tar.gz |
configure: detect Open64 compiler
Originally committed as revision 25135 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1975,6 +1975,14 @@ elif $cc -v 2>&1 | grep -q 'PathScale\|Path64'; then AS_DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@' speed_cflags='-O2' size_cflags='-Os' +elif $cc -v 2>&1 | grep -q Open64; then + cc_type=open64 + cc_version=__OPEN64__ + 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 || |