$NetBSD: patch-deformatters_Makefile,v 1.1 2017/07/07 11:28:36 wiz Exp $

Honor LDFLAGS.

--- deformatters/Makefile.orig	2015-02-08 09:11:13.000000000 +0000
+++ deformatters/Makefile	2017-07-07 11:26:34.426979435 +0000
@@ -77,12 +77,12 @@
 defmt-c: defmt-c.o
 	@. ../config.sh; \
 	  set -x; \
-	  $$CC $$CFLAGS -o $@ $<
+	  $$CC $$CFLAGS $$LDFLAGS -o $@ $<
 
 defmt-sh: defmt-sh.o
 	@. ../config.sh; \
 	  set -x; \
-	  $$CC $$CFLAGS -o $@ $<
+	  $$CC $$CFLAGS $$LDFLAGS -o $@ $<
 
 .c.o:
 	@. ../config.sh; \
