Skip to content

Commit 3fc41b5

Browse files
committed
Enable jump relaxing to save ~2% on Crkbd build
1 parent a5aa42f commit 3fc41b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

users/bcat/rules.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ EXTRAKEY_ENABLE = yes
1616
# reports a keyboard or mouse device.)
1717
NKRO_ENABLE = yes
1818

19-
# Enable link-time optimization to reduce binary size.
19+
# Enable link-time optimization and jump relaxing to reduce binary size.
2020
LTO_ENABLE = yes
21+
AVR_CFLAGS += -mrelax
2122

2223
# Include common utilities shared across all our keymaps.
2324
SRC += bcat.c

0 commit comments

Comments
 (0)