Source-Changes-HG archive

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

[src/netbsd-2-0]: src/gnu/dist/groff Pull up revision 1.7 (requested by jmc i...



details:   https://anonhg.NetBSD.org/src/rev/e023d02cd1c0
branches:  netbsd-2-0
changeset: 561476:e023d02cd1c0
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Jun 21 09:10:27 2004 +0000

description:
Pull up revision 1.7 (requested by jmc in ticket #526):
groff's configure happily accepts and uses CPPFLAGS for it's tests but then
doesn't substitute that into Makefile.in anywhere. This will cause it to lose
when compiling as a host tools and CPPFLAGS contains -I's into the compat
area (solaris loses here for instance). Fix by adding CPPFLAGS onto CFLAGS
and CCFLAGS definitions

diffstat:

 gnu/dist/groff/Makefile.in |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 3b89ee8ee662 -r e023d02cd1c0 gnu/dist/groff/Makefile.in
--- a/gnu/dist/groff/Makefile.in        Mon Jun 21 06:19:28 2004 +0000
+++ b/gnu/dist/groff/Makefile.in        Mon Jun 21 09:10:27 2004 +0000
@@ -296,8 +296,8 @@
 # CDEFINES are definitions for C compilations.
 CDEFINES=$(DEFINES)
 
-CCFLAGS=@CXXFLAGS@
-CFLAGS=@CFLAGS@
+CCFLAGS=@CPPFLAGS@ @CXXFLAGS@
+CFLAGS=@CPPFLAGS@ @CFLAGS@
 LDFLAGS=@LDFLAGS@
 YACC=@YACC@
 YACCFLAGS=-v



Home | Main Index | Thread Index | Old Index