aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-08-01 16:13:12 +0000
committerMåns Rullgård <mans@mansr.com>2010-08-01 16:13:12 +0000
commit448f5b83a7226d1d3763bb9b25e42f66cc8f4b93 (patch)
tree864ae7071ac949f5e69cbc719b642679fe81c0c4
parent61a187b08177e827ee94b35cd43daa4f78101dd9 (diff)
downloadffmpeg-448f5b83a7226d1d3763bb9b25e42f66cc8f4b93.tar.gz
Fix suncc ident string (hopefully)
Originally committed as revision 24652 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 624c5ae4da..4619ab1f2e 100755
--- a/configure
+++ b/configure
@@ -1889,7 +1889,7 @@ elif $cc -v 2>&1 | grep -q clang; then
elif $cc -V 2>&1 | grep -q Sun; then
cc_type=suncc
cc_version="AV_STRINGIFY(__SUNPRO_C)"
- cc_ident=$($cc -V | head -n1)
+ cc_ident=$($cc -V 2>&1 | head -n1 | cut -d' ' -f 2-)
DEPEND_CMD='$(DEPCC) $(DEPFLAGS) $< | sed -e "1s,^.*: ,$@: ," -e "\$$!s,\$$, \\\," -e "1!s,^.*: , ," > $(@:.o=.d)'
DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -xM1'
speed_cflags='-O5'