Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
SeanMcG authored and DonDiego committed Jul 20, 2011
1 parent 79a9aab commit 558c268
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure
Expand Up @@ -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
Expand Down

0 comments on commit 558c268

Please sign in to comment.