summaryrefslogtreecommitdiffstats
path: root/platforms
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-09-27 18:14:35 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-10-03 07:55:42 +0200
commit569af847e0cbbcd2d81571bdac7207047644eab5 (patch)
tree93f971c251ad626f8337b4aaaba62e6f022b5c5c /platforms
parent16fd150aafc1f237e700b773024273920d784353 (diff)
downloadptxdist-569af847e0cbbcd2d81571bdac7207047644eab5.tar.gz
ptxdist-569af847e0cbbcd2d81571bdac7207047644eab5.tar.xz
toolchain_options: disable TARGET_COMPILER_RECORD_SWITCHES by default
It creates unnecessary changes in the final binaries. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-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