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' ],