only:windows compilation seems broken fix #5703
documenting the problem
This commit is contained in:
parent
e3c787419c
commit
579644fb96
|
@ -89,6 +89,10 @@ endif
|
|||
# Enable this if you want link time optimizations (LTO)
|
||||
ifeq ($(USE_LTO),)
|
||||
# ChibiOS has not yet migrated to gcc12 syntax of '-flto' thus some weird code here
|
||||
#
|
||||
# drama: in case of 'syntax error near unexpected token' on Windows either comment out the two lines below
|
||||
# or just more your GCC into a folder without spaced in the path like 'C:\stuff\arm-gcc-12.2'
|
||||
#
|
||||
USE_LTO = no
|
||||
USE_OPT += -flto=auto
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue