actually, obey CPPFLAGS *and* LDFLAGS....
Todd Vierling
tv at pobox.com
Thu May 22 22:43:17 CDT 2003
Ignore previous message about CPPFLAGS. The following patch does the
same, but also adds support for LDFLAGS (also listed in "./configure --help"
and honored by most autoconfiscated progs), and refers to them by reference
in CFLAGS and LIBS.
Index: Make.rules.in
===================================================================
RCS file: /home/wine/wine/Make.rules.in,v
retrieving revision 1.157
diff -u -r1.157 Make.rules.in
--- Make.rules.in 6 May 2003 18:34:53 -0000 1.157
+++ Make.rules.in 23 May 2003 03:40:44 -0000
@@ -23,8 +23,9 @@
SHELL = /bin/sh
CC = @CC@
CPP = @CPP@
-CFLAGS = @CFLAGS@
-LIBS = @LIBS@
+CPPFLAGS = @CPPFLAGS@
+CFLAGS = $(CPPFLAGS) @CFLAGS@
+LIBS = $(LDFLAGS) @LIBS@
YACC = @YACC@
LEX = @LEX@
LEXLIB = @LEXLIB@
--
-- Todd Vierling <tv at pobox.com>
More information about the wine-patches
mailing list