diff options
author | Sean McGovern <gseanmcg@gmail.com> | 2011-07-21 01:25:41 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-07-21 02:30:16 +0400 |
commit | 558c268318f968b77b1cd8bc55ad4429e4c39948 (patch) | |
tree | 1d89a4706529ec1e0ffac662c63c9a609fadffbb /configure | |
parent | 79a9aab56f06b870bfb8090e8e29fabdd0cfc6df (diff) |
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@biurrun.de>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |