Re: flag issue in AC_PROG_CXX for Sun Studio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/25/2010 03:37 PM, Eric Blake wrote:
According to Monty Taylor on 7/30/2009 1:28 PM:
Hey all,

The ever helpful setting of -g into CXXFLAGS by AC_PROG_CXX is incorrect
on Sun Studio (IMHO). Currently, the test checks for Sun Studio compiler
and, if so, injects -g. The problem is, -g on Sun Studio means "include
symbols _AND_ disable inlining" The appropriate flag that's similar to
-g on GCC is -g0. (Thanks Sun Studio, for being weird)

Revisiting an old thread.  Thanks for the report; any suggestions on how
to fix it before the release of autoconf 2.66?


It should be enough to just replace the -g with -g0 ... lemme see if I can cook up a patch for you.

Thanks!
Monty


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux