mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-06-03 14:13:46 -03:00
Add workaround for undefined reference to weak function under mingw (#26167)
This commit is contained in:
@@ -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}),)
|
||||
|
||||
Reference in New Issue
Block a user