Marcus Meissner
4f0766c655
a new package that already exists in SLES OBS-URL: https://build.opensuse.org/request/show/209571 OBS-URL: https://build.opensuse.org/package/show/Base:System/ledmon?expand=0&rev=1
18 lines
620 B
Diff
18 lines
620 B
Diff
Index: ledmon-0.79/src/Makefile
|
|
===================================================================
|
|
--- ledmon-0.79.orig/src/Makefile
|
|
+++ ledmon-0.79/src/Makefile
|
|
@@ -65,10 +65,10 @@ SOURCES:=$(shell find -name "*.[cC]" -pr
|
|
default: all
|
|
|
|
ledmon: $(OUTDIR)/.depend $(LEDMON_OBJECTS)
|
|
- $(CC) $(LDFLAGS) $(LDLIBS) $(LEDMON_OBJECTS) -o $@
|
|
+ $(CC) $(LDLIBS) $(LEDMON_OBJECTS) -o $@ $(LDFLAGS)
|
|
|
|
ledctl: $(OUTDIR)/.depend $(LEDCTL_OBJECTS)
|
|
- $(CC) $(LDFLAGS) $(LDLIBS) $(LEDCTL_OBJECTS) -o $@
|
|
+ $(CC) $(LDLIBS) $(LEDCTL_OBJECTS) -o $@ $(LDFLAGS)
|
|
|
|
$(OUTDIR)/%.o: %.c
|
|
$(CC) $(CFLAGS) $(DEFFLAGS) $(INCFLAGS) -c $< -o $@
|