build: add "--partly-static" build options
authorSuper Zheng <superzheng@tencent.com>
Fri, 4 Dec 2015 08:14:24 +0000 (16:14 +0800)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:18 +0000 (11:52 -0800)
commitc5f71ac771fb9a6af93a372893fbc8b2d219e8bf
treec1e74a0d0eaec03169719e886d44c23866ca111c
parent830caeb1bd0ba4771a671bba87ac427421e455e1
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: https://github.com/nodejs/node/pull/4152
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
configure