[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disabling optimization
From: |
Andre Caldas |
Subject: |
Re: Disabling optimization |
Date: |
Thu, 18 Nov 2004 09:58:24 +0900 |
User-agent: |
Mozilla Thunderbird 0.7 (X11/20040615) |
How do I disable the "-O2" flag in the most portable way possible?
I am just learning, I am no authority. But, I would do it at configure time:
'CXXFLAGS=-O0' 'CFLAGS=-O0'
If you have some *file* that needs some specific flag, you could set it
in your Makefile.am. I think it would be something like that (not sure):
execname_SOURCES = cannot_opt.cpp cannot_opt.h can_opt.cpp can_opt.h
cannot_opt_o_CXXFLAGS = -O0
Andre Caldas.
- Disabling optimization, Jonathan, 2004/11/17
- Re: Disabling optimization,
Andre Caldas <=
- Re: Disabling optimization, Braden McDaniel, 2004/11/17
- Re: Disabling optimization, Stepan Kasal, 2004/11/18
- Re: Disabling optimization, Andreas Schwab, 2004/11/18
- Re: Disabling optimization, Ralf Corsepius, 2004/11/18
- Re: Disabling optimization, Andrew Suffield, 2004/11/18
- Re: Disabling optimization, Ralf Corsepius, 2004/11/18
- Re: Disabling optimization, Andrew Suffield, 2004/11/18
- Re: Disabling optimization, Bob Friesenhahn, 2004/11/18
- Re: Disabling optimization, Andrew Suffield, 2004/11/18
- Re: Disabling optimization, Bob Friesenhahn, 2004/11/18