[Bug 840301] Re: cmake sets the default optimization level to -O3

Steve Langasek 840301 at bugs.launchpad.net
Thu Oct 14 01:04:44 UTC 2021


The Precise Pangolin has reached end of life, so this bug will not be
fixed for that release

** Changed in: cmake (Ubuntu Precise)
       Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/840301

Title:
  cmake sets the default optimization level to -O3

Status in cmake package in Ubuntu:
  Won't Fix
Status in cmake source package in Precise:
  Won't Fix
Status in cmake package in Debian:
  Fix Released

Bug description:
  Debian policy 10.1 gives defaults for the optimization level, which is -O2.
  The last paragraph allows exceptions for certain packages on the decision of the 
  package maintainer.  It's certainly not meant for the maintainer of a build 
  system to make this decision on the behalf of all packages using this build 
  system.  The default should be changed to -O2.

  Plus it looks like that -g is not enabled for release builds.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/840301/+subscriptions




More information about the foundations-bugs mailing list