Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1346602 - Turn -z defs into warnings on BSDs after 1330655. r=tta…
…ubert
  • Loading branch information
jbeich committed Mar 13, 2017
1 parent ee63b6c commit c41f6d8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions coreconf/config.gypi
Expand Up @@ -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',
],
}],
],
}],
],
}],
Expand Down

0 comments on commit c41f6d8

Please sign in to comment.