Commit 12649f4
build: add "--partly-static" build options
A lot of machines don't upgrade libstdc++.so library for a long time,
but the new version of node requires the latest GLIBCXX.
Using "--fully-static" configurable options may resolve this problem,
but the side effect is that the size of the executable file will be
increased.
Adding "--partly-static" configurable options it will only build
libgcc and libstdc++ libraries into executable file, resolve the
problem and control the size of file.
PR-URL: #4152
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>1 parent 8a60aa1 commit 12649f4Copy full SHA for 12649f4
File tree
Expand file treeCollapse file tree
1 file changed
+19
-6
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
1 file changed
+19
-6
lines changedOpen diff view settings
Collapse file
+19-6Lines changed: 19 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
84 | 84 | |
85 | 85 | |
86 | 86 | |
87 | | - |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
88 | 94 | |
89 | 95 | |
90 | 96 | |
| ||
816 | 822 | |
817 | 823 | |
818 | 824 | |
819 | | - |
820 | | - |
821 | | - |
| 825 | + |
| 826 | + |
822 | 827 | |
823 | 828 | |
824 | | - |
| 829 | + |
| 830 | + |
| 831 | + |
| 832 | + |
| 833 | + |
| 834 | + |
| 835 | + |
| 836 | + |
| 837 | + |
825 | 838 | |
826 | 839 | |
827 | 840 | |
| ||
1119 | 1132 | |
1120 | 1133 | |
1121 | 1134 | |
1122 | | - |
| 1135 | + |
1123 | 1136 | |
1124 | 1137 | |
1125 | 1138 | |
|
0 commit comments