[Spice-devel] [PATCH spice-streaming-agent] build: Use same options to compile unit tests

Frediano Ziglio fziglio at redhat.com
Mon Apr 23 15:11:00 UTC 2018


Unit test where not compiling with same options.
In this case warnings are different producing different results.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 src/unittests/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/unittests/Makefile.am b/src/unittests/Makefile.am
index 0fc6d50..9047b80 100644
--- a/src/unittests/Makefile.am
+++ b/src/unittests/Makefile.am
@@ -13,6 +13,10 @@ AM_CFLAGS = \
 	$(WARN_CFLAGS) \
 	$(NULL)
 
+AM_CXXFLAGS = \
+	$(WARN_CXXFLAGS) \
+	$(NULL)
+
 check_PROGRAMS = \
 	hexdump \
 	test-mjpeg-fallback \
-- 
2.14.3



More information about the Spice-devel mailing list