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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]