Explorar el Código

Add --relax for size optimization to gh60

tmk hace 12 años
padre
commit
db024b6b18
Se han modificado 1 ficheros con 3 adiciones y 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)