Dear Maintainer, when packaging iPXE for Ubuntu, the build failed since Ubuntu enables LTO by default, and this was added to the CFLAGS due to Debian's patch. In the upstream bug report, developers requested that distributions shouldn't change iPXE's CFLAGS at all since their compilation target is boot ROMs. Could Debian (& then Ubuntu) remove the CFLAGS adjustment as requested by upstream? https://github.com/ipxe/ipxe/issues/1515 https://github.com/ipxe/ipxe/pull/1521 Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/ipxe/+bug/2121439 Cheers -- JJ
Hi, In release 2.0.0, I filtered the added CFLAGS to only include warning related options and removes other options which affects the behavior of the compiler. I wonder if this change can satisfy your request. Cheers, Miao Wang