diff --git a/prog/detect/Module.mk b/prog/detect/Module.mk index bca009bf..c3886587 100644 --- a/prog/detect/Module.mk +++ b/prog/detect/Module.mk @@ -36,7 +36,7 @@ all-prog-detect: $(PROGDETECTTARGETS) user :: all-prog-detect $(MODULE_DIR)/i2cdetect: $(MODULE_DIR)/i2cdetect.ro prog/dump/i2cbusses.ro - $(CC) -o $@ $^ + $(CC) $(EXLDFLAGS) -o $@ $^ install-prog-detect: all-prog-detect mkdir -p $(DESTDIR)$(SBINDIR) diff --git a/prog/dump/Module.mk b/prog/dump/Module.mk index 43c8582b..0d5a7423 100644 --- a/prog/dump/Module.mk +++ b/prog/dump/Module.mk @@ -38,10 +38,10 @@ all-prog-dump: $(PROGDUMPTARGETS) user :: all-prog-dump $(MODULE_DIR)/i2cdump: $(MODULE_DIR)/i2cdump.ro $(MODULE_DIR)/i2cbusses.ro - $(CC) -o $@ $^ + $(CC) $(EXLDFLAGS) -o $@ $^ $(MODULE_DIR)/i2cset: $(MODULE_DIR)/i2cset.ro $(MODULE_DIR)/i2cbusses.ro - $(CC) -o $@ $^ + $(CC) $(EXLDFLAGS) -o $@ $^ install-prog-dump: all-prog-dump mkdir -p $(DESTDIR)$(SBINDIR) diff --git a/prog/sensord/Module.mk b/prog/sensord/Module.mk index 6a00da0a..ea5a1814 100644 --- a/prog/sensord/Module.mk +++ b/prog/sensord/Module.mk @@ -38,7 +38,7 @@ PROGSENSORDSOURCES := $(MODULE_DIR)/args.c $(MODULE_DIR)/chips.c $(MODULE_DIR)/l INCLUDEFILES += $(PROGSENSORDSOURCES:.c=.rd) $(PROGSENSORDTARGETS): $(PROGSENSORDSOURCES:.c=.ro) lib/$(LIBSHBASENAME) - $(CC) -o $@ $(PROGSENSORDSOURCES:.c=.ro) -Llib -lsensors -lrrd + $(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORDSOURCES:.c=.ro) -Llib -lsensors -lrrd all-prog-sensord: $(PROGSENSORDTARGETS) user :: all-prog-sensord diff --git a/prog/sensors/Module.mk b/prog/sensors/Module.mk index f86d49ba..6e0d247d 100644 --- a/prog/sensors/Module.mk +++ b/prog/sensors/Module.mk @@ -34,7 +34,7 @@ PROGSENSORSSOURCES := $(MODULE_DIR)/main.c $(MODULE_DIR)/chips.c INCLUDEFILES += $(PROGSENSORSSOURCES:.c=.rd) $(PROGSENSORSTARGETS): $(PROGSENSORSSOURCES:.c=.ro) lib/$(LIBSHBASENAME) - $(CC) -o $@ $(PROGSENSORSSOURCES:.c=.ro) -Llib -lsensors + $(CC) $(EXLDFLAGS) -o $@ $(PROGSENSORSSOURCES:.c=.ro) -Llib -lsensors all-prog-sensors: $(PROGSENSORSTARGETS) user :: all-prog-sensors