Skip to content

Commit

Permalink
Compilation failed on Solaris 11.2 GCC 4.8.2 (undefined std::isnan)
Browse files Browse the repository at this point in the history
Try to fix build issue nodejs#9351
../deps/v8/src/conversions-inl.h:70:7: error: 'builtin_isnan' is not a member of 'std'
  • Loading branch information
cgalibern committed Mar 6, 2015
1 parent a995a6a commit 4b75bcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
'ldflags': [ '-m64' ],
}],
[ 'OS=="solaris"', {
'defines': ['_GLIBCXX_USE_C99_MATH'],
'cflags': [ '-pthreads' ],
'ldflags': [ '-pthreads' ],
'cflags!': [ '-pthread' ],
Expand Down

0 comments on commit 4b75bcd

Please sign in to comment.