From 4e8f69e96b2bd3dab737edcd598f4cf61ded3389 Mon Sep 17 00:00:00 2001 From: cepetr Date: Thu, 20 Mar 2025 15:23:51 +0100 Subject: [PATCH] fix(core): fix emulator build [no changelog] --- core/embed/gfx/bitblt/gfx_bitblt_rgb565.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/embed/gfx/bitblt/gfx_bitblt_rgb565.c b/core/embed/gfx/bitblt/gfx_bitblt_rgb565.c index 50d0808f02..feea2c1670 100644 --- a/core/embed/gfx/bitblt/gfx_bitblt_rgb565.c +++ b/core/embed/gfx/bitblt/gfx_bitblt_rgb565.c @@ -19,7 +19,9 @@ // Turning off the stack protector for this file improves // the performance of drawing operations when called frequently. +#ifndef TREZOR_EMULATOR #pragma GCC optimize("no-stack-protector") +#endif #include