openwrtv4/openwrt/package/ipcad/patches/01-honor_cppflags.patch
2005-12-20 13:19:49 +00:00

11 lines
451 B
Diff

diff -ruN ipcad-3.7-old/Makefile.in ipcad-3.7-new/Makefile.in
--- ipcad-3.7-old/Makefile.in 2005-11-21 05:41:07.000000000 +0100
+++ ipcad-3.7-new/Makefile.in 2005-12-20 10:27:07.000000000 +0100
@@ -9,6 +9,7 @@
LDFLAGS+= @LDFLAGS@
LIBS+= @LIBS@
CFLAGS+= @CFLAGS@ @DEFS@ -W -Wall
+CPPFLAGS+= @CPPFLAGS@
CPPFLAGS+=-DIPCAD_VERSION=\"@IPCAD_VERSION@\"
CPPFLAGS+=-DCONFIG_FILE=\"${sysconfdir}/ipcad.conf\"
CPPFLAGS+=@DEFS@ -D_REENTRANT -D_THREAD_SAFE