Building the current sources from git on Solaris fails if you attempt to use the Sun compilers because configure.ac hardcodes gcc flags. It's easy to check for gcc using the $GCC variable set by AC_PROG_CC, so this is trivial to fix. (Patch coming momentarily.)
Created attachment 5370 [details] [review] Only set CWARNFLAGS to gnu flags if $GCC is set. Otherwise check for Sun compiler and use it's enhanced warning flag.
Thanks, Alan! I've been wanting to get these sorts of portability fixes. I've committed and pushed your patch.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.