From 28bce37d04123e4452971fbacacef31861f4fe27 Mon Sep 17 00:00:00 2001 From: Alexandre Quesnel <131881+aquesnel@users.noreply.github.com> Date: Sat, 10 Apr 2021 13:29:15 +0000 Subject: [PATCH] Add -no-suppress to the libtool invocation for libcommon --- common/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/Makefile.am b/common/Makefile.am index d8bdc615..95351b49 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -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