Browse Source

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

Add missing library in Makefile
Scott Lahteine 7 years ago
parent
commit
ff258d43e7
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Makefile

+ 1
- 1
Marlin/Makefile View File

@@ -332,7 +332,7 @@ endif
332 332
 
333 333
 ifeq ($(RELOC_WORKAROUND), 1)
334 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 336
 endif
337 337
 
338 338
 #Check for Arduino 1.0.0 or higher and use the correct source files for that version

Loading…
Cancel
Save