boards/native: remove toolchain variables duplication#11627
Merged
miri64 merged 1 commit intoRIOT-OS:masterfrom Jun 4, 2019
Merged
boards/native: remove toolchain variables duplication#11627miri64 merged 1 commit intoRIOT-OS:masterfrom
miri64 merged 1 commit intoRIOT-OS:masterfrom
Conversation
The toolchain variables were overwritten anyway in
`makefiles/toolchain/gnu|llvm.inc.mk` as they use `=` affectation,
except for `OBJCOPY`.
On my Linux ubuntu bionic machine, the only difference for `info-build`
with both gnu/llvm and also with LTO=1
is that it now uses an absolute path for `objcopy`
-OBJCOPY: objcopy
+OBJCOPY: /usr/bin/objcopy
On the OSX 17.7.0 I tested, there was no difference.
miri64
reviewed
Jun 4, 2019
Member
miri64
left a comment
There was a problem hiding this comment.
Confirmed that this is a possible duplication. I'd still like to (have this) test(ed) on an Arch machine.
Member
|
Both |
10 tasks
Contributor
Author
|
Thanks for the review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
boards/native: remove toolchain variables duplication
The toolchain variables were overwritten anyway in
makefiles/toolchain/gnu|llvm.inc.mkas they use=affectation,except for
OBJCOPY.On my Linux ubuntu bionic machine, the only difference for
info-buildwith both gnu/llvm and also with LTO=1
is that it now uses an absolute path for
objcopyOn the OSX 17.7.0 I tested, there was no difference.
Testing procedure
Compare the output of
info-buildwith different toolchains and enabling LTO.I used this output:
On my Linux machine I get this difference
On OSX I get the same output.
Issues/PRs references
Found as a dependency for cleaning exports for compilation variables #10850
Board/cpu cleanup #8713 (comment)