summaryrefslogtreecommitdiffstats
path: root/platforms/toolchain_options.in
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/toolchain_options.in')
-rw-r--r--platforms/toolchain_options.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/platforms/toolchain_options.in b/platforms/toolchain_options.in
index fe0ff1558..afae2a67c 100644
--- a/platforms/toolchain_options.in
+++ b/platforms/toolchain_options.in
@@ -73,12 +73,18 @@ endchoice
config TARGET_COMPILER_RECORD_SWITCHES
bool
prompt "store compiler flags (-frecord-gcc-switches)"
- default y
+ default !TARGET_BUILD_ID
help
Can be read with the 'readelf' tool from the used toolchain and the
command line option '-p .GCC.command.line' on any object file or
the corresponding .debug/.<whatever>.dbg file.
+ Note: This section is included when the build-id is calculated.
+ This section contains absolute build paths and possible temporary
+ filenames generated by icecc. As a result, with this option
+ enabled, the final binary will likely be different each time a
+ package is rebuilt.
+
config TARGET_BUILD_ID
bool
default y