GUACAMOLE-249: Add -Werror to CPPFLAGS for FreeRDP tests to ensure tests fail when pointers are incompatible.

This commit is contained in:
Michael Jumper 2020-01-13 18:17:56 -08:00
parent de3300ed89
commit 99b00a8cc0

View File

@ -546,7 +546,7 @@ if test "x$with_rdp" != "xno"
then
have_freerdp2=yes
PKG_CHECK_MODULES([RDP], [freerdp2 freerdp-client2 winpr2],
[CPPFLAGS="${RDP_CFLAGS} $CPPFLAGS"],
[CPPFLAGS="${RDP_CFLAGS} -Werror $CPPFLAGS"],
[AC_MSG_WARN([
--------------------------------------------
Unable to find FreeRDP (libfreerdp2 / libfreerdp-client2 / libwinpr2)