Explorar o código

Add --relax for size optimization to gh60

tmk %!s(int64=12) %!d(string=hai) anos
pai
achega
db024b6b18
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      keyboard/gh60/Makefile.lufa

+ 3 - 0
keyboard/gh60/Makefile.lufa

@@ -107,6 +107,9 @@ CONSOLE_ENABLE = yes	# Console for debug(+400)
 #PS2_MOUSE_ENABLE = yes	# PS/2 mouse(TrackPoint) support
 
 
+# Optimize size but this may cause error "relocation truncated to fit"
+EXTRALDFLAGS = -Wl,--relax
+
 # Search Path
 VPATH += $(TARGET_DIR)
 VPATH += $(TOP_DIR)