HomeClusterLabs Projects

[build] Add annobin build/check support

Description

[build] Add annobin build/check support

the annobin check is enabled only if all compiler flags, linker flags
and annocheck binary are available.

the build will use as many of the hardening options required to pass
the annocheck regardless.

the check is performed / enabled only with gcc. clang currently suffers
from some limitations to automatically detect the annobin plugin, that
would increase drastacally the complexity of the build system
unnecessarely.

implementation based on:

Original idea by Christine Caulfield <ccaulfie@redhat.com>

CentOS Stream CI insists on this but it's generally a 'good thing'

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

Details

Provenance
chrissie-cAuthored on May 10 2021, 8:00 AM
fabbioneCommitted on Sep 16 2021, 10:59 PM
Parents
rKf617f256fd5a: [nozzle] fix tests on machines that donĀ“t have bash
Branches
Unknown
Tags
Unknown

Event Timeline