-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Commit 7787c04
committed
configure.ac: use C++ compiler for linking, replaces
If at least one source is C++, ask the C++ compiler to link the
executable instead of manually adding `-lstdc++`. The C++ compiler
knows best which C++ standard library needs to be used. This is more
robust, and allows non-GNU standard libraries such as libc++.-lstdc++
1 parent 060af54 commit 7787c04
2 files changed
+12
-4
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
742 | 742 |
| |
743 | 743 |
| |
744 | 744 |
| |
745 | - | ||
746 | 745 |
| |
747 | 746 |
| |
748 | 747 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1664 | 1664 |
| |
1665 | 1665 |
| |
1666 | 1666 |
| |
1667 | + | ||
1668 | + | ||
1669 | + | ||
1670 | + | ||
1671 | + | ||
1672 | + | ||
1673 | + | ||
1674 | + | ||
1675 | + | ||
1667 | 1676 |
| |
1668 | 1677 |
| |
1669 | - | ||
1678 | + | ||
1670 | 1679 |
| |
1671 | 1680 |
| |
1672 | - | ||
1681 | + | ||
1673 | 1682 |
| |
1674 | 1683 |
| |
1675 | - | ||
1684 | + | ||
1676 | 1685 |
| |
1677 | 1686 |
| |
1678 | 1687 |
| |
|
0 commit comments