summaryrefslogtreecommitdiff
path: root/coreconf
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-03-13 11:26:00 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-03-13 11:26:00 +0000
commit5370150564a8877efa64f4566f638a9a8863390f (patch)
treedce341f700663a1217e260faa04e7e17236ea2e3 /coreconf
parent10fc8b5a4743035186bc6425b1320d8dfb9eb158 (diff)
downloadnss-hg-5370150564a8877efa64f4566f638a9a8863390f.tar.gz
Bug 1346602 - Turn -z defs into warnings on BSDs after 1330655. r=ttaubert
Diffstat (limited to 'coreconf')
-rw-r--r--coreconf/config.gypi14
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',
+ ],
+ }],
+ ],
}],
],
}],