Hi,

I’ve noticed that the open source apps built with automake have default compile flags “-g -O2”.
I would like to get a optimization free root-debug build with debug symbols.

I can replace all occurrences of “-g -O2” with “-g” in configure files but would like to hear comments if there is a better way of doing this.
For example.

Passing a global CFLAGS="-g" to all ./configure scripts?

 

Thanks



ALAN MARTINOVIĆ
DEVELOPMENT ENGINEER
ZENITEL NORWAY AS

Tel: +385 97 746 6662
alan.martinovic@zenitel.com

ZENITEL MARINE MED. OFFICE

PERMANI 28, HR-HR-51213 Jurdani, Croatia
Switchboard: +385 97 746 6662, Fax: +385 51 292 555
www.zenitel.com
default


DISCLAIMER:
This e-mail may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message.