Commit 71f9b6f
committed
ws_main.py: Make --sanitized work with clang
While compiling with:
"""
CC=clang CXX=clang++ ./b configure --sanitized
CC=clang CXX=clang++ ./b build
"""
I got:
"""
clang: error: unknown argument '-static-libasan'; did you mean '-static-libsan'?
"""
This commit passes expected param name to clang while still passing the
other one to gcc.
With commit applied, one can successfully build and run sanitized clang-compiled
trex binaries.1 parent 10e1d19 commit 71f9b6f
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
738 | | - | |
739 | 738 | | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
740 | 743 | | |
741 | 744 | | |
742 | 745 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2537 | 2537 | | |
2538 | 2538 | | |
2539 | 2539 | | |
2540 | | - | |
2541 | 2540 | | |
| 2541 | + | |
| 2542 | + | |
| 2543 | + | |
| 2544 | + | |
2542 | 2545 | | |
2543 | 2546 | | |
2544 | 2547 | | |
| |||
0 commit comments