Commit 3c61052
committed
Cxx: do not tie libstdc++ to Linux
This extracts the C++ runtime detection as recommended by Ben Boeckel.
Detect if `__GLIBCXX__` is defined in `<version>` indicating that
libstdc++ is being used. This allows for building the overlay for
alternative C++ runtimes (e.g. libc++) on Linux.1 parent 2ab459a commit 3c61052
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
5 | | - | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments