summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-11 00:05:35 +0900
committertmk <nobody@nowhere>2013-03-11 00:05:35 +0900
commitdb024b6b1803eb752070422e7240b1ffe52d39f6 (patch)
treec2c70129dfdd02cb30028372dc9ed2bb79f2b5c2
parentde8ef18a534163b40e307418b3af603142d5d6b0 (diff)
downloadqmk_firmware-db024b6b1803eb752070422e7240b1ffe52d39f6.tar.gz
qmk_firmware-db024b6b1803eb752070422e7240b1ffe52d39f6.zip
Add --relax for size optimization to gh60
-rw-r--r--keyboard/gh60/Makefile.lufa3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboard/gh60/Makefile.lufa b/keyboard/gh60/Makefile.lufa
index 2076c919ca..b885b7dfa1 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)