Bug#1041188: does not respect compilation flags from dpkg-buildflags

2023-07-15 Thread Sébastien Villemot
Le samedi 15 juillet 2023 à 14:39 +0200, Sébastien Villemot a écrit :
> The build process of rheolef does not respect the flags from dpkg-buildflags.
> 
> More precisely, it unconditionally adds -O3. It means that the default -O2
> level is not respected. It also means that DEB_BUILD OPTIONS=noopt does not
> work as expected (it should use -O0).

I just realized that using -O3 is allowed by Policy, if there is a good
reason for using it (see §10.1).

However it is still recommended to support DEB_BUILD_OPTIONS=noopt.

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  https://sebastien.villemot.name
⠈⠳⣄  https://www.debian.org



signature.asc
Description: This is a digitally signed message part


Bug#1041188: does not respect compilation flags from dpkg-buildflags

2023-07-15 Thread Sébastien Villemot
Source: rheolef
Version: 7.2-2
Severity: normal

Dear Maintainer,

The build process of rheolef does not respect the flags from dpkg-buildflags.

More precisely, it unconditionally adds -O3. It means that the default -O2
level is not respected. It also means that DEB_BUILD OPTIONS=noopt does not
work as expected (it should use -O0).

Cheers,

--
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  https://sebastien.villemot.name
⠈⠳⣄  https://www.debian.org