Skip to content

Commit 43b3e94

Browse files
authored
Bugfix msys2 Debug builds. Closes #6683 (#6690)
#changelog #msys2
1 parent ff22d9e commit 43b3e94

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libs/openFrameworksCompiled/project/msys2/config.msys2.default.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ PLATFORM_CFLAGS += -fexceptions
126126

127127
#PLATFORM_LDFLAGS += -arch i386
128128
PLATFORM_LDFLAGS += -lpthread
129+
130+
ifeq ($(findstring MINGW64,$(MSYSTEM)),MINGW64)
131+
PLATFORM_LDFLAGS += -Wl,--disable-dynamicbase,--disable-high-entropy-va,--default-image-base-low
132+
endif
133+
129134
ifndef DEBUG
130135
PLATFORM_LDFLAGS += -mwindows
131136
endif

0 commit comments

Comments
 (0)