Em qui., 25 de fev. de 2021 às 14:57, Marc Haber
<mh+debian-packa...@zugschlus.de> escreveu:
> Hi,
>
> for the aide package, blhc complains about missing CFLAGS (-fPIE), see 
> https://buildd.debian.org/status/fetch.php?pkg=aide&arch=amd64&ver=0.17.3-1&stamp=1613025725&raw=0
>
> However, aide uses dpkg-buildflags correctly, it is just the case that
> dpkg-buildflags doesn't emit fPIE (any more?) since gcc (nowadays, to my
> knowlegde) defaults to -fPIE.
>
> Please let me know if I'm wrong with this diagnosis. Should
> dpkg-buildflags not emit -fPIE automatically?

Hi Marc,

Thanks for your message. Yes, since 2016 dpkg enables PIE by default.
The right way is always to use --debian option to check your .build
files. See below:

# blhc --all --debian aide_0.17.3-1_amd64.build

Can I close this bug?

Cheers,

Eriberto

Reply via email to