Skip to content

Commit 76a28c4

Browse files
committed
[target spec] Remove unnecessary linking parameters
Libc is not required. Also, '-Os' is a NOP when passed to the linker.
1 parent ec26148 commit 76a28c4

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

avr-atmega328p.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,10 @@
1414
"exe-suffix": ".elf",
1515
"eh-frame-header": false,
1616
"pre-link-args": {
17-
"gcc": [
18-
"-Os",
19-
"-mmcu=atmega328p"
20-
]
17+
"gcc": ["-mmcu=atmega328p"]
2118
},
2219
"late-link-args": {
23-
"gcc": [
24-
"-lc",
25-
"-lgcc"
26-
]
20+
"gcc": ["-lgcc"]
2721
},
2822
"target-c-int-width": "16",
2923
"target-endian": "little",

0 commit comments

Comments
 (0)