Commit c5f71ac
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 830caeb commit c5f71acCopy full SHA for c5f71ac
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 | |
| ||
794 | 800 | |
795 | 801 | |
796 | 802 | |
797 | | - |
798 | | - |
799 | | - |
| 803 | + |
| 804 | + |
800 | 805 | |
801 | 806 | |
802 | | - |
| 807 | + |
| 808 | + |
| 809 | + |
| 810 | + |
| 811 | + |
| 812 | + |
| 813 | + |
| 814 | + |
| 815 | + |
803 | 816 | |
804 | 817 | |
805 | 818 | |
| ||
1097 | 1110 | |
1098 | 1111 | |
1099 | 1112 | |
1100 | | - |
| 1113 | + |
1101 | 1114 | |
1102 | 1115 | |
1103 | 1116 | |
|
0 commit comments