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

Compiling C++ without -g



Is there a way to prevent autoconf from appending "-g" to every g++ command 
line? I really want to reduce the diskspace and CPU time required to build my 
package, but autoconf seems to assume if you have g++ you have to have "-g" 
also.

e.g.
AC_PROG_CXX calls _AC_PROG_CXX_G which if successful unconditionally appends 
"-g" to the command line.



Reply to: