diff --git a/common.gypi b/common.gypi index 572a1633..2297bdf0 100644 --- a/common.gypi +++ b/common.gypi @@ -134,7 +134,7 @@ }] ] }], - ['OS in "freebsd dragonflybsd linux openbsd solaris android"', { + ['OS in "freebsd dragonflybsd linux openbsd solaris android aix"', { 'cflags': [ '-Wall' ], 'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ], 'target_conditions': [ @@ -162,6 +162,10 @@ 'cflags': [ '-pthread' ], 'ldflags': [ '-pthread' ], }], + [ 'OS=="aix" and target_arch=="ppc64"', { + 'cflags': [ '-maix64' ], + 'ldflags': [ '-maix64' ], + }], ], }], ['OS=="mac"', {