| 4b6082c4 | 03-Feb-2021 |
Alex Richardson <[email protected]> |
atf: Fix ATF_BUILD_* values when not using the bootstrap compiler
Currently, we encode the full path and compile flags for the build compiler in libatf. However, these values are not correct when cr
atf: Fix ATF_BUILD_* values when not using the bootstrap compiler
Currently, we encode the full path and compile flags for the build compiler in libatf. However, these values are not correct when cross-compiling: For example, when I build on macOS, CC is set to the host path /usr/local/Cellar/llvm/11.0.0_1/bin/clang-11. This path will not exist on the target system. Simplify this logic and use cc/cpp/c++ since those binaries will exist on the target system unless the compiler was explicitly disabled. I'm not convinced ATF needs to encode these values, but this is a minimal fix for these tests when using a non-bootstrapped compiler.
Reviewed By: ngie, brooks Differential Revision: https://reviews.freebsd.org/D28414
(cherry picked from commit 9b131f1e51a00c8bbbda32672fb5db88010400f6)
show more ...
|
| 2c3f47a7 | 17-Sep-2019 |
Dimitry Andric <[email protected]> |
Another round of attempting to squelch -Wdeprecated-declarations, which has become very trigger-happy with libc++ 9.0.0.
It does not help that gcc's implementation of this warning is even more trigg
Another round of attempting to squelch -Wdeprecated-declarations, which has become very trigger-happy with libc++ 9.0.0.
It does not help that gcc's implementation of this warning is even more trigger-happy, in the sense that it already warns on the declaration itself, not when you are using it. This is very annoying with our use of -Wsystem-headers. That should really be disabled for gcc.
show more ...
|