automake
[Top][All Lists]
Advanced

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

Re: Force -O0 flags, inhibit the default -O2 flags


From: Bob Friesenhahn
Subject: Re: Force -O0 flags, inhibit the default -O2 flags
Date: Thu, 29 Sep 2005 10:07:05 -0500 (CDT)

On Thu, 29 Sep 2005, Harald Dunkel wrote:
Sorry, but you missed one point: Autconf/automake _should_ provide
default build flags, but with a lower priority then the flags set
by the developer. It should be possible for a developer to set in
his Makefile.am

        AM_CXXFLAGS = -Wall
In case things were somehow not clear, Automake does not provide any 
flag options at all.  Non-portable options have no business being 
hard-coded in a Makefile.  Automake only creates Makefiles which are 
formed via simple text substitution.  ALL FLAG OPTIONS COME FROM 
*YOUR* CONFIGURE SCRIPT.
Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

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