diff options
author | Bruno Haible <bruno@clisp.org> | 2007-03-02 01:53:11 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2007-03-02 01:53:11 +0000 |
commit | d762128fe864268596a074db7da796216613f0b8 (patch) | |
tree | eb9f66679da97c7767db787279e5f2ad821ee346 | |
parent | f089b26f1cbd528ae6e6987cdf41bd54b350df30 (diff) | |
download | gnulib-d762128fe864268596a074db7da796216613f0b8.tar.gz |
Recommend to set -D options in CPPFLAGS, not CFLAGS.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | doc/relocatable-maint.texi | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 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 compilers. Reported by Ralf Wildenhues. diff --git a/doc/relocatable-maint.texi b/doc/relocatable-maint.texi index a8fce10ced..da57402a4b 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 |