Been sitting on this for ages but in anticipation of 2.0:
--- PLUGINS/src/dvbhddevice/Makefile.orig
+++ PLUGINS/src/dvbhddevice/Makefile
@@ -98,7 +98,7 @@
$(SOFILE): $(OBJS) libhdffcmd
@$(MAKE) --no-print-directory -C libhdffcmd all
- $(CXX) $(CXXFLAGS) -shared $(OBJS) libhdffcmd/libhdffcmd.a -o $@
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) libhdffcmd/libhdffcmd.a -o $@
install-lib: $(SOFILE)
install -D $^ $(LIBDIR)/$^.$(APIVERSION)