Hi!

On Wed, 2023-06-28 at 01:02:30 +0200, Guillem Jover wrote:
> On Thu, 2023-06-22 at 19:46:11 +0300, VSYakovetsky wrote:
> > Package: libdpkg-perl
> > Version: 1.21.22ubuntu1
> > Severity: minor
> > X-Debbugs-Cc: vsyakovet...@gmail.com

> >    * What exactly did you do (or not do) that was effective (or 
> > ineffective)?
> >      CC=clang dpkg-buildpackage ...
> > 
> >    * What was the outcome of this action?
> >      clang: warning: optimization flag '-ffat-lto-objects' is not supported 
> > [-Wignored-optimization-argument]
> 
> >    * What outcome did you expect instead?
> >      not sorting out rare flags specific to one compiler
> >      (a possible workaround was manually set 
> > DEB_CFLAGS_STRIP=-ffat-lto-objects in environment)
> 
> Yes, in this case if you change the compiler, then you need to adapt
> any such build flags that might not play well with it.
> 
> So, I'm afraid there's not much that can be done here. Perhaps this
> could be documented somewhere more prominently, but I'm not sure
> where, perhaps the dpkg-buildpackage or dpkg-buildflags man pages or
> similar, not sure if that would have helped in your case?

I got a reply off-BTS where VSYakovetsky mentioned it would be fine to
close. I still think this could do with some documentation somewhere
so I'll ponder about this, and otherwise either will improve some docs…

> Otherwise, I'm inclined to probably be closing this in a bit.

…or if I don't come up with anything will be closing it.

Thanks,
Guillem

Reply via email to