diff --git a/deps/uv/uv.gyp b/deps/uv/uv.gyp index 1ef8c05adc6..203ae1169ac 100644 --- a/deps/uv/uv.gyp +++ b/deps/uv/uv.gyp @@ -64,6 +64,12 @@ 'src/version.c' ], 'conditions': [ + [ 'gcc_version<=44', { + # GCC versions <= 4.4 do not handle the aliasing in the queue + # implementation, so disable aliasing on these platforms + # to avoid subtle bugs + 'cflags': [ '-fno-strict-aliasing' ], + }], [ 'OS=="win"', { 'defines': [ '_WIN32_WINNT=0x0600',