actually, obey CPPFLAGS *and* LDFLAGS....

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

 



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@pobox.com>


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux