From 4b75bcdf809d786edf6c5efeca7f1fc3067d5cb8 Mon Sep 17 00:00:00 2001 From: cgalibern Date: Fri, 6 Mar 2015 16:52:49 +0100 Subject: [PATCH] Compilation failed on Solaris 11.2 GCC 4.8.2 (undefined std::isnan) Try to fix build issue #9351 ../deps/v8/src/conversions-inl.h:70:7: error: 'builtin_isnan' is not a member of 'std' --- common.gypi | 1 + 1 file changed, 1 insertion(+) diff --git a/common.gypi b/common.gypi index 8886b743927d..7c0e9f46dd71 100644 --- a/common.gypi +++ b/common.gypi @@ -190,6 +190,7 @@ 'ldflags': [ '-m64' ], }], [ 'OS=="solaris"', { + 'defines': ['_GLIBCXX_USE_C99_MATH'], 'cflags': [ '-pthreads' ], 'ldflags': [ '-pthreads' ], 'cflags!': [ '-pthread' ],