commit 780967a3c8865913e510d970e3922172de8b0075
parent e5d7199cb3610a90ec79230c4c3ae18b6e49ad60
Author: falkTX <falktx@falktx.com>
Date: Tue, 19 Mar 2019 22:01:04 +0100
Add -mstackrealign build flag to windows
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile.base.mk b/Makefile.base.mk
@@ -112,6 +112,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