xfs/linux/Makefile.in

Dave Morrison dave at bnl.gov
Sat Dec 4 22:32:21 CET 1999


Hello-

The Makefile in xfs/linux doesn't use the value of CFLAGS passed along
by configure.  I couldn't see any good reason why it shouldn't use the
autoconf'ed value of CFLAGS, and the fact that it doesn't caused me some
problems when trying to compile it.  This patch fixes this:

diff -ru orig/arla-0.29pre1/xfs/linux/Makefile.in
arla-0.29pre1/xfs/linux/Makefile.in
--- orig/arla-0.29pre1/xfs/linux/Makefile.in	Mon Oct  4 04:19:37 1999
+++ arla-0.29pre1/xfs/linux/Makefile.in	Sat Dec  4 14:59:48 1999
@@ -30,11 +30,12 @@
 XFS_BIN		= $(MODULE)
 
 DEFS		= @DEFS@ @KERNEL_CFLAGS@ -DDEBUG
-INC		= -I$(srcdir)/../include \
+INCLUDES	= -I. \
+		  -I$(srcdir)/../include \
 		  -I../../include \
-		  -I$(srcdir)/../../include
-INCLUDES	= $(INC) @KRB_INC_FLAGS@
-CFLAGS		= -Wall -I. $(INCLUDES) -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer
+		  -I$(srcdir)/../../include \
+		  @KRB_INC_FLAGS@
+CFLAGS		= @CFLAGS@ $(INCLUDES) -Wstrict-prototypes -fomit-frame-pointer
 KERNEL_LDFLAGS	= @KERNEL_LDFLAGS@
 
 SUBDIRS		= bin

Cheers,
Dave

-- 
David Morrison  Brookhaven National Laboratory  phone: 631-344-5840
                Physics Department, Bldg 510 C    fax: 631-344-3253
		          Upton, NY 11973-5000  email: dave at bnl.gov





More information about the Arla-drinkers mailing list