mirror of https://github.com/vitalif/openscad
Move -DNOGDI to main project file.
This is not related to the cross build but a workaround when including windows.h that also defines Polygon. So it's now enabled for all Windows builds including MSYS2.master
parent
33a8c2baaa
commit
4a75c57209
|
@ -19,7 +19,7 @@ CONFIG(mingw-cross-env) {
|
||||||
LIBS += mingw-cross-env/lib/libexpat.a
|
LIBS += mingw-cross-env/lib/libexpat.a
|
||||||
LIBS += mingw-cross-env/lib/libintl.a
|
LIBS += mingw-cross-env/lib/libintl.a
|
||||||
LIBS += mingw-cross-env/lib/libiconv.a
|
LIBS += mingw-cross-env/lib/libiconv.a
|
||||||
QMAKE_CXXFLAGS += -fpermissive -DNOGDI
|
QMAKE_CXXFLAGS += -fpermissive
|
||||||
WINSTACKSIZE = 8388608 # 8MB # github issue 116
|
WINSTACKSIZE = 8388608 # 8MB # github issue 116
|
||||||
QMAKE_CXXFLAGS += -Wl,--stack,$$WINSTACKSIZE
|
QMAKE_CXXFLAGS += -Wl,--stack,$$WINSTACKSIZE
|
||||||
LIBS += -Wl,--stack,$$WINSTACKSIZE
|
LIBS += -Wl,--stack,$$WINSTACKSIZE
|
||||||
|
|
|
@ -116,6 +116,7 @@ macx {
|
||||||
|
|
||||||
win* {
|
win* {
|
||||||
RC_FILE = openscad_win32.rc
|
RC_FILE = openscad_win32.rc
|
||||||
|
QMAKE_CXXFLAGS += -DNOGDI
|
||||||
}
|
}
|
||||||
|
|
||||||
CONFIG += qt
|
CONFIG += qt
|
||||||
|
|
Loading…
Reference in New Issue