changeset 8281:8dcf244ccec2

Recommend to set -D options in CPPFLAGS, not CFLAGS.
author Bruno Haible <bruno@clisp.org>
date Fri, 02 Mar 2007 01:53:11 +0000
parents cf9fed416d8c
children 7eebce734d9a
files ChangeLog doc/relocatable-maint.texi
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-03-01  Bruno Haible  <bruno@clisp.org>
+
+	* doc/relocatable-maint.texi: Recommend to set foo_CPPFLAGS, not
+	foo_CFLAGS.
+	Reported by Ralf Wildenhues.
+
 2007-03-01  Bruno Haible  <bruno@clisp.org>
 
 	* build-aux/install-reloc: Remove object files left over by some
--- a/doc/relocatable-maint.texi
+++ b/doc/relocatable-maint.texi
@@ -116,7 +116,7 @@
 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