• Mark Asselstine's avatar
    ruby.bbclass: pass LDFLAGS via dldflags to avoid QA warnings · f8af5af0
    Mark Asselstine authored
    
    
    Ruby makes use of the lesser known DLDFLAGS to compose flags passed to
    the linker. Since DLDFLAGS is composed of arch, ldflags and dldflags
    instead of overwriting DLDFLAGS we drop the correct flags into
    dldflags. (lowercase vs uppercase)
    
    This will avoid the following QA warnings, such as:
    No GNU_HASH in the elf binary: './tmp/work/core2-64-overc-linux/ruby-shadow/2.4.1-r0/packages-split/ruby-shadow/usr/lib64/ruby/gems/2.2.0/gems/ruby-shadow-2.4.1/lib/shadow.so'
    No GNU_HASH in the elf binary: './tmp/work/core2-64-overc-linux/ruby-shadow/2.4.1-r0/packages-split/ruby-shadow/usr/lib64/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/ruby-shadow-2.4.1/shadow.so' [ldflags]
    Signed-off-by: default avatarMark Asselstine <mark.asselstine@windriver.com>
    Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
    f8af5af0
ruby.bbclass 4.87 KB