Add -no-suppress to the libtool invocation for libcommon
@@ -32,7 +32,10 @@ if XRDP_DEBUG
AM_CPPFLAGS += -DXRDP_DEBUG
endif
-AM_CFLAGS = $(OPENSSL_CFLAGS)
+# -no-suppress is an automake-specific flag which is needed
+# to prevent us missing compiler errors in some circumstances
+# (see https://github.com/neutrinolabs/xrdp/pull/1843 )
+AM_CFLAGS = -no-suppress $(OPENSSL_CFLAGS)
module_LTLIBRARIES = \
libcommon.la
