diff options
Diffstat (limited to 'coreconf')
-rw-r--r-- | coreconf/config.gypi | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/coreconf/config.gypi b/coreconf/config.gypi index 6b15be0d7..97241c583 100644 --- a/coreconf/config.gypi +++ b/coreconf/config.gypi @@ -219,16 +219,18 @@ '-Wl,--gc-sections', ], 'conditions': [ - ['OS=="dragonfly" or OS=="freebsd" or OS=="netbsd" or OS=="openbsd"', { - # Bug 1321317 - unix_rand.c:880: undefined reference to `environ' - 'ldflags': [ - '-Wl,--warn-unresolved-symbols', - ], - }], ['no_zdefs==0', { 'ldflags': [ '-Wl,-z,defs', ], + 'conditions': [ + ['OS=="dragonfly" or OS=="freebsd" or OS=="netbsd" or OS=="openbsd"', { + # Bug 1321317 - unix_rand.c:880: undefined reference to `environ' + 'ldflags': [ + '-Wl,--warn-unresolved-symbols', + ], + }], + ], }], ], }], |