Skip to content
Snippets Groups Projects
Commit 558c2683 authored by Sean McGovern's avatar Sean McGovern Committed by Diego Biurrun
Browse files

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: default avatarDiego Biurrun <diego@biurrun.de>
parent 79a9aab5
No related branches found
No related tags found
No related merge requests found
...@@ -2014,6 +2014,7 @@ elif $cc -V 2>&1 | grep -q Sun; then ...@@ -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-) 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)' DEPEND_CMD='$(DEPCC) $(DEPFLAGS) $< | sed -e "1s,^.*: ,$@: ," -e "\$$!s,\$$, \\\," -e "1!s,^.*: , ," > $(@:.o=.d)'
DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -xM1' DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -xM1'
add_ldflags -xc99
speed_cflags='-O5' speed_cflags='-O5'
size_cflags='-O5 -xspace' size_cflags='-O5 -xspace'
filter_cflags=suncc_flags filter_cflags=suncc_flags
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment