automake
[Top][All Lists]
Advanced

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

Re: Turning Off Compiler Optimization in Subdir


From: Alexandre Duret-Lutz
Subject: Re: Turning Off Compiler Optimization in Subdir
Date: Sun, 09 Apr 2006 16:32:39 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

| This is why I'd prefer to have some solution which turns off  
| optimization (probably based on a configure test) but only on that  
| one specific subdir. The rest of the library is optimized for speed,  
| but a few minor functions are affected.

I could always overwrite CXXFLAGS in this Makefile.am:
  CXXFLAGS = @CXXFLAGS@ $(MYHACK)
and then AC_SUBST MYHACK to either -O0 or nothing.
-- 
Alexandre Duret-Lutz

Shared books are happy books.     http://www.bookcrossing.com/friend/gadl





reply via email to

[Prev in Thread] Current Thread [Next in Thread]