<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:10:01 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-599] ./configure --disable-optimizations should not touch CFLAGS</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-599</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;./configure --disable-optimizations appends -O0 to CFLAGS.  ./configure --enable-optimizations appends -O2. I&apos;d like to see possibility not to change the optimization level at all. This is especially useful for distributions which want to build software uniformly with their own compiler flags.&lt;/p&gt;

&lt;p&gt;Attached patch changes --disable-optimizations to preserve CFLAGS.&lt;/p&gt;</description>
                <environment>glibc on Linux</environment>
        <key id="193125">CDRIVER-599</key>
            <summary>./configure --disable-optimizations should not touch CFLAGS</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="bjori">Hannes Magnusson</assignee>
                                    <reporter username="ppisar">Petr Pisar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 31 Mar 2015 15:19:26 +0000</created>
                <updated>Mon, 8 Jan 2024 15:30:29 +0000</updated>
                            <resolved>Mon, 26 Oct 2015 17:55:39 +0000</resolved>
                                    <version>1.1.2</version>
                                    <fixVersion>1.3.0-beta0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1070638" author="bjori" created="Mon, 26 Oct 2015 17:55:32 +0000"  >&lt;p&gt;Err. Missed amending your commit message to include the ticket#&lt;/p&gt;

&lt;p&gt;Its here though: &lt;a href=&quot;https://github.com/mongodb/libbson/commit/70557dff8fa0dfb486eb8b2376556fb769f63ed5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/70557dff8fa0dfb486eb8b2376556fb769f63ed5&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for the fix!&lt;/p&gt;</comment>
                            <comment id="1070629" author="xgen-internal-githook" created="Mon, 26 Oct 2015 17:50:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-599&quot; title=&quot;./configure --disable-optimizations should not touch CFLAGS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-599&quot;&gt;&lt;del&gt;CDRIVER-599&lt;/del&gt;&lt;/a&gt;: Don&apos;t set -D_FORTIFY_SOURCE for --enable-optimizations&lt;/p&gt;

&lt;p&gt;It is part of --enable-hardening which makes far more sense&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/fff00ccd9dde9ef787f24d806c7d4881e3340f30&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/fff00ccd9dde9ef787f24d806c7d4881e3340f30&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1070628" author="xgen-internal-githook" created="Mon, 26 Oct 2015 17:50:26 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-599&quot; title=&quot;./configure --disable-optimizations should not touch CFLAGS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-599&quot;&gt;&lt;del&gt;CDRIVER-599&lt;/del&gt;&lt;/a&gt;: Don&apos;t manipulate CFLAGS when not-setting an option&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/37dc552ed5d1ac30b47972bdda0822e525f4666a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/37dc552ed5d1ac30b47972bdda0822e525f4666a&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="69198" name="libbson-1.1.2-Preserve-CFLAGS.patch" size="815" author="ppisar" created="Tue, 31 Mar 2015 15:19:26 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs7nrr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="760">C Driver 2015Q2 sprint 9</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>