Skip to content

Commit f68a121

Browse files
IAR: Enable additional linker optimizations for develop/release profile
add --inline option to linker flags
1 parent 09c2450 commit f68a121

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/profiles/develop.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@
5555
"asm": [],
5656
"c": ["--vla", "--diag_suppress=Pe546"],
5757
"cxx": ["--guard_calls", "--no_static_destruction"],
58-
"ld": ["--skip_dynamic_initialization", "--threaded_lib"]
58+
"ld": ["--skip_dynamic_initialization", "--threaded_lib", "--inline"]
5959
}
6060
}

tools/profiles/release.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
"asm": [],
5454
"c": ["--vla", "--diag_suppress=Pe546"],
5555
"cxx": ["--guard_calls", "--no_static_destruction"],
56-
"ld": ["--skip_dynamic_initialization", "--threaded_lib"]
56+
"ld": ["--skip_dynamic_initialization", "--threaded_lib", "--inline"]
5757
}
5858
}

0 commit comments

Comments
 (0)