Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/groff groff's configure happily accepts and uses CP...



details:   https://anonhg.NetBSD.org/src/rev/73bcba8f72c4
branches:  trunk
changeset: 567565:73bcba8f72c4
user:      jmc <jmc%NetBSD.org@localhost>
date:      Sun Jun 20 21:48:12 2004 +0000

description:
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 669cd4af9a68 -r 73bcba8f72c4 gnu/dist/groff/Makefile.in
--- a/gnu/dist/groff/Makefile.in        Sun Jun 20 21:30:26 2004 +0000
+++ b/gnu/dist/groff/Makefile.in        Sun Jun 20 21:48:12 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