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