From db024b6b1803eb752070422e7240b1ffe52d39f6 Mon Sep 17 00:00:00 2001 From: tmk Date: Mon, 11 Mar 2013 00:05:35 +0900 Subject: [PATCH] Add --relax for size optimization to gh60 --- keyboard/gh60/Makefile.lufa | 3 +++ 1 file changed, 3 insertions(+) diff --git a/keyboard/gh60/Makefile.lufa b/keyboard/gh60/Makefile.lufa index 2076c919..b885b7df 100644 --- a/keyboard/gh60/Makefile.lufa +++ b/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)