2.5.5 build ignores $CPPFLAGS

Paul Jarc prj at po.cwru.edu
Tue Nov 12 23:10:59 EST 2002


(I'm not subscribed; Mail-Followup-To set.)

Contrary to the claim in the output of ./configure --help, $CPPFLAGS
is in fact not influential.

--- rsync-2.5.5/Makefile.in~    2002-03-24 23:36:34.000000000 -0500
+++ rsync-2.5.5/Makefile.in     2002-11-12 17:52:04.000000000 -0500
@@ -9,6 +9,7 @@
 LIBS=@LIBS@
 CC=@CC@
 CFLAGS=@CFLAGS@
+CPPFLAGS=@CPPFLAGS@
 LDFLAGS=@LDFLAGS@
 
 INSTALLCMD=@INSTALL@
@@ -45,7 +46,7 @@
 # note that the -I. is needed to handle config.h when using VPATH
 .c.o:
 @OBJ_SAVE@
-       $(CC) -I. -I$(srcdir) $(CFLAGS) -c $< @CC_SHOBJ_FLAG@
+       $(CC) -I. -I$(srcdir) $(CPPFLAGS) $(CFLAGS) -c $< @CC_SHOBJ_FLAG@
 @OBJ_RESTORE@
 
 all: rsync



paul



More information about the rsync mailing list