[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Disabling optimization
From: |
Jonathan |
Subject: |
Disabling optimization |
Date: |
Wed, 17 Nov 2004 18:48:13 -0500 |
My autoconf/automake project is optimizing by default with "-g -O2".
Unfortunately, we have verified that this is causing a run-time error
by overriding CXXFLAGS in Makefile.am with just "-g". With the "-O2"
flag removed, everything works great.
I have been trying to find out where this "-O2" is coming from so I
can disable it at the configure.ac level, but my attempts have been
fruitless.
How do I disable the "-O2" flag in the most portable way possible?
I'm developing on Linux with autoconf 2.59, automake 1.6.3, libtool
1.5.2, gcc 3.3.4.
--
-Jonathan
- Disabling optimization,
Jonathan <=
- Re: Disabling optimization, Andre Caldas, 2004/11/17
- 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