Re: macros.cmake: set -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/13/2012 06:48 AM, Richard Shaw wrote:
On Mon, Nov 12, 2012 at 11:14 PM, Ralf Corsepius <rc040203@xxxxxxxxxx
<mailto:rc040203@xxxxxxxxxx>> wrote:

    On 11/13/2012 05:05 AM, Richard Shaw wrote:

        I own several packages that use cmake and I've taken to setting the
        release type to RelWithDebugInfo like you suggest. One question I've had
        but never gotten around to asking is: Regardless of whether you use
        Release or RelWithDebugInfo, should we be building with -O3? It seems
        odd that the rpm macro defaults to doing something that is explicitly
        against the packaging guidelines.


    Your sentence confuses me or I am missing somthing.

    The FPG intention is to mandate using RPM_OPT_FLAGS. These so far have
    contained -O2. So, unless something has recently been changed, using -O3
    would qualify as a bug somewhere.


And regardless, the question is if -O3 is explicitly against the guidelines,
why is it in the rpm macros file at all.

Richard

It's not in any rpm macros. It is in cmake's definition of the default flags for doing a "Release" build.


--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                   http://www.nwra.com
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux