From 8334bddf9e3a0ffbc2be9a60d80a68f3b8d94d31 Mon Sep 17 00:00:00 2001 From: penguine Date: Tue, 14 Apr 2026 22:53:55 +0200 Subject: [PATCH] Set CMAKE_BUILD_TYPE=Release for FreeRDP production builds. Without an explicit build type, CMake defaults to an empty configuration which leaves WINPR_ASSERT runtime assertions enabled. These assertions call abort() on unexpected conditions, silently killing guacd child processes without any log output. Setting Release mode disables the assertions, enables compiler optimizations, and matches how Linux distributions package FreeRDP. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 8ec9f4b69b..057e6d89dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,6 +65,7 @@ ARG WITH_LIBWEBSOCKETS='v\d+(\.\d+)+' ARG FREERDP_ARM_OPTS="" ARG FREERDP_OPTS="\ + -DCMAKE_BUILD_TYPE=Release \ -DBUILTIN_CHANNELS=OFF \ -DCHANNEL_URBDRC=OFF \ -DWITH_ALSA=OFF \