summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authortmk2011-01-17 21:51:51 +0900
committertmk2011-01-23 04:10:35 +0900
commitbf1a37ba712b3c42861e7cfabb174724791b41b6 (patch)
treef6df1afe42e3421ae3646fb981727f2e5aa1c3e9 /Makefile.common
parent7ad93f7850cd3d20260628b10a8b123d97736e4e (diff)
PS/2 to USB keyboard converter
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 795e7b999..808e8ff3b 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -298,6 +298,10 @@ EXTMEMOPTS =
# -Wl,...: tell GCC to pass this to linker.
# -Map: create map file
# --cref: add cross reference to map file
+#
+# Comennt out "--relax" option to avoid a error such:
+# (.vectors+0x30): relocation truncated to fit: R_AVR_13_PCREL against symbol `__vector_12'
+#
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
LDFLAGS += -Wl,--relax
LDFLAGS += -Wl,--gc-sections