Browse Source

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

3
common.gypi

@ -69,6 +69,9 @@
['clang == 0 and gcc_version >= 40', { ['clang == 0 and gcc_version >= 40', {
'cflags': [ '-fno-tree-vrp' ], 'cflags': [ '-fno-tree-vrp' ],
}], }],
['clang == 0 and gcc_version <= 44', {
'cflags': [ '-fno-tree-sink' ],
}],
], ],
}], }],
['OS=="solaris"', { ['OS=="solaris"', {

Loading…
Cancel
Save