[ircd-ratbox] [PATCH] ratbox-services: CPPFLAGS/CFLAGS

Ralf S. Engelschall rse at engelschall.com
Mon Apr 18 09:02:05 UTC 2005


Honor Autoconf CPPFLAGS/CFLAGS.

Index: ratbox-services/src/Makefile.in
--- ratbox-services/src/Makefile.in.orig	2005-04-07 01:58:30 +0200
+++ ratbox-services/src/Makefile.in	2005-04-13 15:30:42 +0200
@@ -12,7 +12,7 @@
 INCLUDES=-I ../include/ @SQLITE_INCLUDES@
 LDFLAGS=@LDFLAGS@
 LIBS=@LIBS@
-CFLAGS=-g -O0 -Wall -Werror -Wunused -Wshadow -Wmissing-declarations -Wwrite-strings -DPREFIX=\"$(PREFIX)\"
+CFLAGS=@CPPFLAGS@ @CFLAGS@ -g -O0 -Wall -Werror -Wunused -Wshadow -Wmissing-declarations -Wwrite-strings -DPREFIX=\"$(PREFIX)\"
 MAKE = make

 # Anything marked with the .PHONY attribute is always considered "out of date"

                                       Ralf S. Engelschall
                                       rse at engelschall.com
                                       www.engelschall.com



More information about the ircd-ratbox mailing list