configure: suncc: Add -xc99 to dependency flags, required on Solaris
authorDiego Biurrun <diego@biurrun.de>
Thu, 9 Aug 2012 15:14:32 +0000 (17:14 +0200)
committerDiego Biurrun <diego@biurrun.de>
Thu, 9 Aug 2012 18:07:05 +0000 (20:07 +0200)
configure

index 241663c..aeb9928 100755 (executable)
--- a/configure
+++ b/configure
@@ -2196,7 +2196,7 @@ probe_cc(){
         _type=suncc
         _ident=$($_cc -V 2>&1 | head -n1 | cut -d' ' -f 2-)
         _DEPCMD='$(DEP$(1)) $(DEP$(1)FLAGS) $($(1)DEP_FLAGS) $< | sed -e "1s,^.*: ,$@: ," -e "\$$!s,\$$, \\\," -e "1!s,^.*: , ," > $(@:.o=.d)'
-        _DEPFLAGS='-xM1'
+        _DEPFLAGS='-xM1 -xc99'
         _ldflags='-std=c99'
         _cflags_speed='-O5'
         _cflags_size='-O5 -xspace'