mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 21:19:50 +01:00
build: disable -Wattributes warnings on aix
Disable the following compiler warning: warning: visibility attribute not supported in this configuration; ignored [-Wattributes] This is gcc complaining about `__attribute((visibility("default"))` in static library builds. Legitimate but harmless (and uninteresting) and it drowns out more relevant warnings. PR-URL: https://github.com/nodejs/node/pull/32419 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
parent
cd1db2db48
commit
037f8448be
@ -401,6 +401,15 @@
|
||||
'-Wl,-brtl',
|
||||
],
|
||||
}, { # else it's `AIX`
|
||||
# Disable the following compiler warning:
|
||||
#
|
||||
# warning: visibility attribute not supported in this
|
||||
# configuration; ignored [-Wattributes]
|
||||
#
|
||||
# This is gcc complaining about __attribute((visibility("default"))
|
||||
# in static library builds. Legitimate but harmless and it drowns
|
||||
# out more relevant warnings.
|
||||
'cflags': [ '-Wno-attributes' ],
|
||||
'ldflags': [
|
||||
'-Wl,-blibpath:/usr/lib:/lib:/opt/freeware/lib/pthread/ppc64',
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user