Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2016-04-06 13:10:07 +0300
committerBen Noordhuis <info@bnoordhuis.nl>2016-04-07 14:14:42 +0300
commit71544c5ecae20123a328e08a04b7f1587c4cdbbd (patch)
tree0889cc71f920f78072145aa2800f89a0544fca8a /common.gypi
parent3a8e8230eeeb1340ba4b8b99c7a58127f594f3fd (diff)
build: remove -f{data,function}-sections flags
We don't link with `--gc-sections` because it's unreliable with some toolchains, so all these flags do is make the compiler generate slightly worse code. Drop them. Refs: https://github.com/nodejs/node/pull/6056 PR-URL: https://github.com/nodejs/node/pull/6077 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.gypi b/common.gypi
index 811a7b3da3d..ac06e55b181 100644
--- a/common.gypi
+++ b/common.gypi
@@ -95,7 +95,7 @@
'variables': {
'v8_enable_handle_zapping': 0,
},
- 'cflags': [ '-O3', '-ffunction-sections', '-fdata-sections' ],
+ 'cflags': [ '-O3' ],
'conditions': [
['target_arch=="x64"', {
'msvs_configuration_platform': 'x64',