浏览代码

Merge pull request #8661 from lumbric/bugfix-1.1.x

Add missing library in Makefile
Scott Lahteine 7 年前
父节点
当前提交
ff258d43e7
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/Makefile

+ 1
- 1
Marlin/Makefile 查看文件

332
 
332
 
333
 ifeq ($(RELOC_WORKAROUND), 1)
333
 ifeq ($(RELOC_WORKAROUND), 1)
334
 LD_PREFIX=-nodefaultlibs
334
 LD_PREFIX=-nodefaultlibs
335
-LD_SUFFIX=-lm -lgcc -lc -lgcc
335
+LD_SUFFIX=-lm -lgcc -lc -lgcc -L$(ARDUINO_INSTALL_DIR)/hardware/tools/avr/avr/lib/avr6 -l$(MCU)
336
 endif
336
 endif
337
 
337
 
338
 #Check for Arduino 1.0.0 or higher and use the correct source files for that version
338
 #Check for Arduino 1.0.0 or higher and use the correct source files for that version

正在加载...
取消
保存