From 3a786d3d88f3bfda65b8c8e02d05c8781b341b13 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 16 Oct 2014 19:35:16 +0200 Subject: [PATCH] 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: https://github.com/node-forward/node/pull/24 Reviewed-By: Fedor Indutny --- common.gypi | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common.gypi b/common.gypi index 9c777ae..fabb375 100644 --- a/common.gypi +++ b/common.gypi @@ -84,12 +84,6 @@ # pull in V8's postmortem metadata 'ldflags': [ '-Wl,-z,allextract' ] }], - ['clang == 0 and gcc_version >= 40', { - 'cflags': [ '-fno-tree-vrp' ], # Work around compiler bug. - }], - ['clang == 0 and gcc_version <= 44', { - 'cflags': [ '-fno-tree-sink' ], # Work around compiler bug. - }], ['OS!="mac" and OS!="win"', { 'cflags': [ '-fno-omit-frame-pointer' ], }], -- 2.7.4