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>2012-08-28 00:08:06 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-08-28 00:09:23 +0400
commit2786737417810c0a4f0b70ac80a9c298486de355 (patch)
tree047f7960590a72575bd568d11690a4b10eb81bab /common.gypi
parent84590f3fe9507887cebdcc11b3d1bc93180dc5a7 (diff)
build: compile with -fno-tree-sink if gcc <= 4.4
Fixes a 'pure virtual method called' run-time error with some versions of gcc on some platforms, notably ARM.
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index aad7e2f4009..b26d2f3f1cb 100644
--- a/common.gypi
+++ b/common.gypi
@@ -69,6 +69,9 @@
['clang == 0 and gcc_version >= 40', {
'cflags': [ '-fno-tree-vrp' ],
}],
+ ['clang == 0 and gcc_version <= 44', {
+ 'cflags': [ '-fno-tree-sink' ],
+ }],
],
}],
['OS=="solaris"', {