From 74b498682284c7393df018ff026ce1687a75ebb8 Mon Sep 17 00:00:00 2001 From: Refael Ackermann Date: Sun, 19 May 2019 14:48:30 -0400 Subject: [PATCH] build,aix: link with `noerrmsg` to eliminate warnings PR-URL: https://github.com/nodejs/node/pull/27773 Reviewed-By: Sam Roberts Reviewed-By: Gireesh Punathil --- node.gyp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/node.gyp b/node.gyp index 091fe0470c4802..aebef9c11fbc40 100644 --- a/node.gyp +++ b/node.gyp @@ -282,6 +282,14 @@ 'ImageHasSafeExceptionHandlers': 'false', }, }, + + 'conditions': [ + ['OS=="aix"', { + 'ldflags': [ + '-Wl,-bnoerrmsg', + ], + }], + ], }, 'targets': [