diff options
| author | Reno Dakota <paparodeo@proton.me> | 2024-11-16 11:48:51 -0800 |
|---|---|---|
| committer | Emily <vcs@emily.moe> | 2024-11-20 02:33:34 +0000 |
| commit | f9a5549db27b332d5fffc7a475695f6c40d50848 (patch) | |
| tree | 6ac6e755563ad450f2b3b6b3c6eb5d8f8024cf42 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 1814dd2ab0102a0c1d60a3709fdb5b49f5bf16b7 (diff) | |
llvmPackages{12-git}.clang: don't swallow unsupported option errors when compiling + linking
`https://github.com/llvm/llvm-project/issues/116278`
make clang report unsupported option errors / warning when compiling +
linking in the same command.
this works
```
$ clang --target=aarch64 -mpopcnt hello.c
clang: error: unsupported option '-mpopcnt' for target aarch64
```
before change clang swallows the error
```
$ clang --target=aarch64 -mpopcnt hello.c -lc
$ echo $?
0
```
after change error is reported:
```
$ clang --target=aarch64 -mpopcnt hello.c -lc
clang: error: unsupported option '-mpopcnt' for target aarch64
```
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
