• D
    build: passing the "-z defs" linker flag to prevent undefined symbols · a1f6030d
    Daniel P. Berrangé 提交于
    Undefined symbols are a bad thing in general because they can get
    resolved in unexpected ways at runtime if multiple sources provide the
    same symbol name. For example both glibc and libtirpc may provide XDR
    symbols and we want to ensure that we resolve to libtirpc if that's what
    we originally built against.
    
    The toolchain maintainers thus strongly recommend that all applications
    use the '-z defs' linker flag to prevent undefined symbols. This is
    shortly becoming part of the default linker flags for RPMs. As an added
    benefit this aligns Linux builds with Windows builds, where the linker
    has never permitted undefined symbols.
    Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
    a1f6030d
Makefile.am 102.1 KB