Re: Add some information to Packaging cmake wiki

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

 



On Tue, Feb 28, 2012 at 5:19 PM, Rex Dieter <rdieter@xxxxxxxxxxxx> wrote:
> Kevin Kofler wrote:
>
>> Richard Shaw wrote:
>>> I've noticed with several packages lately that frequently the wrong
>>> build flags are used or appened to the ones the cmake macro sets.
>>> Sometimes this can happen because the main cmake configuration file
>>> forces the type to "Release" (bad!) but not always.
>>>
>>> I've found that adding: "-DCMAKE_RELEASE_TYPE=RelWithDebinfo" often
>>> takes care of this.
>>
>> FYI, some packages use bad flags with RelWithDebinfo and good ones with
>> Release, some always use good flags, and some always use bad flags (and
>> have to be patched).

Hmm... I guess we shouldn't add it to the cmake macro then :) I
usually wait and see if there's a problem first and then try that as
the fix. I haven't had a situation where it gave me bad flags yet, but
I did have a package that hard coded "Release" with bad flags (-O3
etc..) so I had to patch around that one.

Richard
-- 
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