Bug 1348798 - Stop ignoring linker warnings on BSDs after bug 1346735. r?fkiefer
authorJan Beich <jbeich@FreeBSD.org>
Mon, 20 Mar 2017 05:28:00 +0100
changeset 13232 0f3ae796883085adf072463b213500592b75cd7a
parent 13231 e77d9a39893e4e19fb7bd6154048b407fe6fcbe2
child 13233 ffd99ada08f7e46d1411e45ebd306de8bf4bae69
push id2101
push userfranziskuskiefer@gmail.com
push dateMon, 20 Mar 2017 13:10:56 +0000
reviewersfkiefer
bugs1348798, 1346735
Bug 1348798 - Stop ignoring linker warnings on BSDs after bug 1346735. r?fkiefer
coreconf/config.gypi
--- 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',