]> git.cworth.org Git - obsolete/notmuch-old/commitdiff
configure: Support the capturing of CFLAGS and CXXFLAGS at configure time.
authorCarl Worth <cworth@cworth.org>
Fri, 4 Dec 2009 23:20:12 +0000 (15:20 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 4 Dec 2009 23:20:12 +0000 (15:20 -0800)
These variables can now be set via configure time via environment
variables like so:

CFLAGS=-g ./configure

and subsequent builds will remember these values. The values can
still be overridden at compile time by passing make variables:

      make CFLAGS=-O2

The CXXFLAGS variable is optional. If unset at either configure
time or at compile time, it will inherit its value from the
CFLAGS variable. (Though if explicitly set at configure time
it must be explicitly overriden at compile time---just overriding
CFLAGS will not override CXXFLAGS as well.)


No differences found