Преглед изворни кода

Merge remote-tracking branch 'origin/develop' into xap

QMK Bot пре 3 месеци
родитељ
комит
67e17f61d2
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      platforms/test/platform.mk

+ 4 - 0
platforms/test/platform.mk

@@ -11,6 +11,10 @@ HEX =
 EEP =
 BIN =
 
+# workaround for undefined reference to weak function under mingw
+ifneq ($(findstring mingw, ${SYSTEM_TYPE}),)
+LTO_ENABLE := yes
+endif
 
 COMPILEFLAGS += -funsigned-char
 ifeq ($(findstring clang, ${GCC_VERSION}),)