Skip to content

Commit 3a786d3

Browse files
committed
build: remove workarounds for gcc <= 4.4
Now that V8 requires a compiler with decent C++11 support, there is no reason to keep supporting old versions of gcc. Remove workarounds for bugs in gcc 4.4 and older. This coincidentally makes it easier to build with clang 3.3 + address sanitizer because clang no longer chokes on the `-fno-tree-vrp` switch. PR-URL: node-forward/node#24 Reviewed-By: Fedor Indutny <fedor@indutny.com>
1 parent ff7c68c commit 3a786d3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

common.gypi

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,6 @@
8484
# pull in V8's postmortem metadata
8585
'ldflags': [ '-Wl,-z,allextract' ]
8686
}],
87-
['clang == 0 and gcc_version >= 40', {
88-
'cflags': [ '-fno-tree-vrp' ], # Work around compiler bug.
89-
}],
90-
['clang == 0 and gcc_version <= 44', {
91-
'cflags': [ '-fno-tree-sink' ], # Work around compiler bug.
92-
}],
9387
['OS!="mac" and OS!="win"', {
9488
'cflags': [ '-fno-omit-frame-pointer' ],
9589
}],

0 commit comments

Comments
 (0)