From b2c52f173134295879a934581e7aec4d1d2ce9f6 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sat, 17 Nov 2018 00:52:19 +0100 Subject: [PATCH] tests: makefile fixes New tests needs more options and libs. --- test/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Makefile.in b/test/Makefile.in index 6b6749ade..ba8eea8b9 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -238,10 +238,10 @@ lib/runner: lib/runner.o .lib-dir-stamp $(CXX) $(LDFLAGS) $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS) -o $@ $< lib/dmsecuretest: lib/dmsecuretest.o .lib-dir-stamp $(INTERNAL_LIBS) - $(CC) -g $(LDFLAGS) $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS) -o $@ $< $(INTERNAL_LIBS) $(UDEV_LIBS) -lm + $(CC) -g $(CFLAGS) $(LDFLAGS) $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS) -o $@ $< $(INTERNAL_LIBS) $(UDEV_LIBS) -lm lib/securetest: lib/dmsecuretest.o .lib-dir-stamp - $(CC) -g $(LDFLAGS) $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS) -o $@ $< -L$(top_builddir)/libdm/ioctl -ldevmapper + $(CC) -g $(CFLAGS) $(LDFLAGS) $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS) -o $@ $< -L$(top_builddir)/libdm/ioctl -ldevmapper $(LIBS) lib/runner.o: $(wildcard $(srcdir)/lib/*.h)