From: Måns Rullgård Date: Sun, 1 Aug 2010 16:13:12 +0000 (+0000) Subject: Fix suncc ident string (hopefully) X-Git-Tag: n0.7.1~2810 X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff_plain/448f5b83a7226d1d3763bb9b25e42f66cc8f4b93 Fix suncc ident string (hopefully) Originally committed as revision 24652 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/configure b/configure index 624c5ae..4619ab1 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'