From: Ole Streicher <olebole@debian.org>
Date: Sat, 1 Jul 2017 20:53:20 +0200
Subject: Fix format security errors

---
 flames/tests/Makefile.am | 2 +-
 uves/tests/Makefile.am   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/flames/tests/Makefile.am b/flames/tests/Makefile.am
index 5aa6144..cee4cb8 100644
--- a/flames/tests/Makefile.am
+++ b/flames/tests/Makefile.am
@@ -31,7 +31,7 @@ endif
 AM_CPPFLAGS = $(all_includes)
 
 LDADD = $(LIBFLAMES) $(LIBUVES) $(LIBCPLCORE) $(LIBCPLUI) $(LIBCPLDRS)
-LDFLAGS = $(CPL_LDFLAGS)
+AM_LDFLAGS = $(CPL_LDFLAGS)
 #AM_LDFLAGS = -static
 
 pkginclude_HEADERS =
diff --git a/uves/tests/Makefile.am b/uves/tests/Makefile.am
index 11846ef..b53e5e5 100644
--- a/uves/tests/Makefile.am
+++ b/uves/tests/Makefile.am
@@ -31,7 +31,7 @@ endif
 AM_CPPFLAGS = $(all_includes)
 
 LDADD = $(LIBUVES) $(LIBFLAMES) $(LIBCPLUI) $(LIBCPLCORE) $(LIBCEXT) $(LIBCFITSIO) -lqfits
-LDFLAGS = $(CPL_LDFLAGS)
+AM_LDFLAGS = $(CPL_LDFLAGS)
 
 pkginclude_HEADERS =
 
