diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-09-27 18:14:35 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-10-03 07:55:42 +0200 |
commit | 569af847e0cbbcd2d81571bdac7207047644eab5 (patch) | |
tree | 93f971c251ad626f8337b4aaaba62e6f022b5c5c | |
parent | 16fd150aafc1f237e700b773024273920d784353 (diff) | |
download | ptxdist-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>
-rw-r--r-- | platforms/toolchain_options.in | 8 |
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 |