Skip to content

Commit 04f9167

Browse files
committed
Try big-obj instead.
1 parent f6224f3 commit 04f9167

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ ifeq ($(BUILDTYPE),windows)
1616
-ffunction-sections \
1717
-fdata-sections \
1818
-Wno-attributes \
19-
--mcmodel=medium
19+
-Wa,mbig-obj
2020
CXXFLAGS += \
2121
-std=c++23 \
2222
-Wno-deprecated-enum-float-conversion \
2323
-Wno-deprecated-enum-enum-conversion \
2424
-U__GXX_TYPEINFO_EQUALITY_INLINE \
2525
-D__GXX_TYPEINFO_EQUALITY_INLINE \
26-
--mcmodel=medium
26+
-Wa,mbig-obj
2727
#LDFLAGS += -Wl,--gc-sections
2828
AR = $(MINGW)gcc-ar
2929
PKG_CONFIG = $(MINGW)pkg-config --static

0 commit comments

Comments
 (0)