Files
vectorscan/cmake
tnias 44dc317d9d Improve the (cross-)build experience especially with LLVM (#353)
* Suppress clang warnings caused by boost headers

* Make binutils selectable via environment variables

Some build environments specify what tools to use via environment variables.

e.g. NM could be 'x86_64-unknown-linux-gnu-nm' when cross-compiling

* Use llvm-nm friendly non-short format value

LLVM's nm implementaion (llvm-nm) wants the entire string to match.
It doesn't allow just 'p' it wants 'posix'.

- https://github.com/llvm/llvm-project/blob/llvmorg-21.1.3/llvm/tools/llvm-nm/llvm-nm.cpp#L2435-L2448

The nm implementations from GNU binutils and FreeBSD parse the format
argument value only by looking at the first character.
They are accept both 'p' and 'posix'.

- https://github.com/bminor/binutils-gdb/blob/binutils-2_45/binutils/nm.c#L410-L438
- https://github.com/freebsd/freebsd-src/blob/release/14.3.0/contrib/elftoolchain/nm/nm.c#L506-L529
2025-10-30 00:05:00 +02:00
..
2017-06-09 10:12:02 +10:00
2017-04-26 15:19:52 +10:00
2023-10-09 20:38:19 +08:00
2021-10-14 13:53:55 +03:00
2022-05-19 16:25:08 +02:00
2016-12-14 15:34:54 +11:00
2023-03-21 18:11:17 +00:00
2022-02-18 18:35:26 +00:00