From: Bruno Haible Date: Fri, 2 Mar 2007 01:53:11 +0000 (+0000) Subject: Recommend to set -D options in CPPFLAGS, not CFLAGS. X-Git-Tag: cvs-readonly~937 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=d762128fe864268596a074db7da796216613f0b8;p=gnulib.git Recommend to set -D options in CPPFLAGS, not CFLAGS. --- diff --git a/ChangeLog b/ChangeLog index 37bc7bee6..ab1d9012d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2007-03-01 Bruno Haible + * doc/relocatable-maint.texi: Recommend to set foo_CPPFLAGS, not + foo_CFLAGS. + Reported by Ralf Wildenhues. + +2007-03-01 Bruno Haible + * build-aux/install-reloc: Remove object files left over by some compilers. Reported by Ralf Wildenhues. diff --git a/doc/relocatable-maint.texi b/doc/relocatable-maint.texi index a8fce10ce..da57402a4 100644 --- a/doc/relocatable-maint.texi +++ b/doc/relocatable-maint.texi @@ -116,7 +116,7 @@ In your @file{Makefile.am}, for every program @command{foo} that gets installed in, say, @file{$(bindir)}, you add: @example -foo_CFLAGS = -DINSTALLDIR=\"$(bindir)\" +foo_CPPFLAGS = -DINSTALLDIR=\"$(bindir)\" if RELOCATABLE_VIA_LD foo_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)` endif