diff --git a/common.gypi b/common.gypi index 55440bc8fde917..4aa8f919fb6d2f 100644 --- a/common.gypi +++ b/common.gypi @@ -276,6 +276,9 @@ ['_type=="static_library" and OS=="solaris"', { 'standalone_static_library': 1, }], + ['OS=="openbsd"', { + 'ldflags': [ '-Wl,-z,wxneeded' ], + }], ], 'conditions': [ [ 'target_arch=="ia32"', {