From b608c5a7dc38765319cc5f7cb32d35fcb0701d08 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 11 Jan 2011 18:19:44 +0100 Subject: fix misusage of CFLAGS, found via -fhonour-copts --- package/ipcad/patches/patch-Makefile_in | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 package/ipcad/patches/patch-Makefile_in (limited to 'package/ipcad') diff --git a/package/ipcad/patches/patch-Makefile_in b/package/ipcad/patches/patch-Makefile_in new file mode 100644 index 000000000..40bcdf546 --- /dev/null +++ b/package/ipcad/patches/patch-Makefile_in @@ -0,0 +1,17 @@ +--- ipcad-3.7.3.orig/Makefile.in 2007-04-22 10:08:45.000000000 +0200 ++++ ipcad-3.7.3/Makefile.in 2011-01-11 17:16:15.000000000 +0100 +@@ -6,10 +6,10 @@ sysconfdir= @sysconfdir@ + datadir= @datadir@ + + CC= @CC@ +-LDFLAGS+= @LDFLAGS@ +-LIBS+= @LIBS@ +-CFLAGS+= @CFLAGS@ @DEFS@ -W -Wall +-CPPFLAGS+=-DIPCAD_VERSION=\"@IPCAD_VERSION@\" ++LDFLAGS= @LDFLAGS@ ++LIBS= @LIBS@ ++CFLAGS= @CFLAGS@ @DEFS@ -W -Wall ++CPPFLAGS=-DIPCAD_VERSION=\"@IPCAD_VERSION@\" + CPPFLAGS+=-DCONFIG_FILE=\"${sysconfdir}/ipcad.conf\" + CPPFLAGS+=@DEFS@ -D_REENTRANT -D_THREAD_SAFE + CPPFLAGS+=-DPSRC_@PSRC@ -DIFST_@IFST@ -- cgit v1.2.3