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:06:34 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-08-28 00:09:01 +0400
commit84590f3fe9507887cebdcc11b3d1bc93180dc5a7 (patch)
tree488569704b69eaf8138477d476f3d03ce2ecbb4a /common.gypi
parent2d0c1da975d13910700c2591339e64be229607ac (diff)
build: fix -fno-tree-vrp heuristic
-fno-tree-vrp is a gcc only switch. Don't enable it when compiling with clang, it will only complain about -fno-tree-vrp being ignored.
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 b2a9bee2757..aad7e2f4009 100644
--- a/common.gypi
+++ b/common.gypi
@@ -66,7 +66,7 @@
}, {
'cflags!': [ '-ffunction-sections', '-fdata-sections' ],
}],
- ['clang==1 or gcc_version >= 40', {
+ ['clang == 0 and gcc_version >= 40', {
'cflags': [ '-fno-tree-vrp' ],
}],
],