[FFmpeg-cvslog] configure: add -xc99 to LDFLAGS for Sun CC
Sean McGovern
git at videolan.org
Thu Jul 21 16:54:42 CEST 2011
ffmpeg | branch: master | Sean McGovern <gseanmcg at gmail.com> | Wed Jul 20 17:25:41 2011 -0400| [558c268318f968b77b1cd8bc55ad4429e4c39948] | committer: Diego Biurrun
configure: add -xc99 to LDFLAGS for Sun CC
Using Sun's compiler on Solaris, -xc99 is as much a linker flag as a
compiler flag, so add it to LDFLAGS.
Signed-off-by: Diego Biurrun <diego at biurrun.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=558c268318f968b77b1cd8bc55ad4429e4c39948
---
configure | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 28e008f..3953cfc 100755
--- a/configure
+++ b/configure
@@ -2014,6 +2014,7 @@ elif $cc -V 2>&1 | grep -q Sun; then
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'
+ add_ldflags -xc99
speed_cflags='-O5'
size_cflags='-O5 -xspace'
filter_cflags=suncc_flags
More information about the ffmpeg-cvslog
mailing list