Browse Source

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.
v0.8.9-release
Ben Noordhuis 13 years ago
parent
commit
84590f3fe9
  1. 2
      common.gypi

2
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' ],
}],
],

Loading…
Cancel
Save