ledmon/ledmon_cflags.patch
Michal Sekletar dcb0eefaad Update to 0.78
Upstream dropped std=c99 from compiler flags and fixed code which
required c99 support to be enabled, upstream commit d0448d. Fixup
our patch, thus it applies cleanly.

Dropped unnecessary patch.
2013-07-03 17:23:25 +02:00

11 lines
355 B
Diff

--- ledmon-0.72/src/Makefile.orig 2012-08-06 11:29:39.000000000 +0200
+++ ledmon-0.72/src/Makefile 2012-08-07 07:19:25.241220694 +0200
@@ -55,7 +55,6 @@ LEDCTL_OBJECTS=\
$(OUTDIR)/ledctl.o \
$(OBJECTS)
-CFLAGS=-O0 -g -Wall
DEFFLAGS=-D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE
INCFLAGS=-I../config
LDFLAGS=-O0 -g $(DEFFLAGS) -lsgutils2