ledmon/ledmon_cflags.patch
2018-02-26 13:13:38 +01:00

19 lines
486 B
Diff

--- ledmon-0.80/src/Makefile 2016-11-25 13:59:48.000000000 +0100
+++ ledmon-0.80-new/src/Makefile 2018-02-26 13:06:00.911085377 +0100
@@ -57,15 +57,10 @@ LEDCTL_OBJECTS=\
$(OUTDIR)/ledctl.o \
$(OBJECTS)
-CXFLAGS=-O0 -g
-CWFLAGS=-Wall
-CFLAGS=$(CXFLAGS) $(CWFLAGS)
-
DEFFLAGS=-D_DEBUG -D_GNU_SOURCE -D_BSD_SOURCE -DDMALLOC_DISABLE
CPPFLAGS=$(DEFFLAGS)
ALL_CPPFLAGS=$(CPPFLAGS) -I../config
-LDFLAGS=$(CXFLAGS)
LDLIBS=-lsgutils2
SOURCES:=$(shell find -name "*.[cC]" -print)