Skip to content

Commit

Permalink
fix ticket:3868 add --large-address-aware when linking OMEdit (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Jun 25, 2016
1 parent 86dd3e9 commit 4de9151
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OMEdit/OMEditGUI/OMEditGUI.pro
Expand Up @@ -54,7 +54,6 @@ evil_hack_to_fool_lupdate {
# Windows libraries and includes
win32 {
OPENMODELICAHOME = $$(OPENMODELICAHOME)
QMAKE_LFLAGS += -Wl,--stack,16777216,--enable-auto-import

DEFINES += IMPORT_INTO=1

Expand All @@ -67,8 +66,10 @@ win32 {
# required for backtrace
# win32 vs. win64
contains(QT_ARCH, i386) { # 32-bit
QMAKE_LFLAGS += -Wl,--stack,16777216,--enable-auto-import,--large-address-aware
LIBS += -L$$(OMDEV)/tools/msys/mingw32/lib/binutils -L$$(OMDEV)/tools/msys/mingw32/bin -limagehlp -lbfd -lintl -liberty
} else { # 64-bit
QMAKE_LFLAGS += -Wl,--stack,33554432,--enable-auto-import
LIBS += -L$$(OMDEV)/tools/msys/mingw64/lib/binutils -L$$(OMDEV)/tools/msys/mingw64/bin -limagehlp -lbfd -lintl -liberty
}
}
Expand Down

0 comments on commit 4de9151

Please sign in to comment.