Bug 1348798 - Stop ignoring linker warnings on BSDs after
bug 1346735. r?fkiefer
--- a/coreconf/config.gypi
+++ b/coreconf/config.gypi
@@ -218,24 +218,16 @@
'ldflags': [
'-Wl,--gc-sections',
],
'conditions': [
['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',
- ],
- }],
- ],
}],
],
}],
],
'xcode_settings': {
'DYLIB_INSTALL_NAME_BASE': '@executable_path',
'DYLIB_COMPATIBILITY_VERSION': '1',
'DYLIB_CURRENT_VERSION': '1',