From 2721a7036f09ca1ee9a74dd393dd0a9c4597b840 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 10 Mar 2019 18:52:43 +0100 Subject: [PATCH] Build windows binaries with -mstackrealign Fixes #855 Signed-off-by: falkTX --- source/Makefile.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Makefile.mk b/source/Makefile.mk index 3215cb703b..82a3533b1b 100644 --- a/source/Makefile.mk +++ b/source/Makefile.mk @@ -125,6 +125,8 @@ ifeq ($(WIN32),true) # mingw has issues with this specific optimization # See https://github.com/falkTX/Carla/issues/696 BASE_OPTS += -fno-rerun-cse-after-loop +# See https://github.com/falkTX/Carla/issues/855 +BASE_OPTS += -mstackrealign ifeq ($(BUILDING_FOR_WINDOWS),true) BASE_FLAGS += -DBUILDING_CARLA_FOR_WINDOWS endif