<div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><span style="font-family:arial,sans-serif;font-size:small">On Mon, Aug 24, 2015 at 10:31 AM, Reindl Harald </span><span dir="ltr" style="font-family:arial,sans-serif;font-size:small">&lt;<a href="mailto:h.reindl@thelounge.net" target="_blank">h.reindl@thelounge.net</a>&gt;</span><span style="font-family:arial,sans-serif;font-size:small"> wrote:</span><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
Am 24.08.2015 um 16:27 schrieb Neal Gompa:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On Mon, Aug 24, 2015 at 10:15 AM, Jonathan Wakely &lt;<a href="mailto:jwakely@redhat.com" target="_blank">jwakely@redhat.com</a><br></span>
&lt;mailto:<a href="mailto:jwakely@redhat.com" target="_blank">jwakely@redhat.com</a>&gt;&gt;wrote:<span class=""><br>
<br>
    On 24/08/15 10:06 -0400, Neal Gompa wrote:<br>
<br>
        On Mon, Aug 24, 2015 at 9:41 AM, Jonathan Wakely<br></span><span class="">
        &lt;<a href="mailto:jwakely@redhat.com" target="_blank">jwakely@redhat.com</a> &lt;mailto:<a href="mailto:jwakely@redhat.com" target="_blank">jwakely@redhat.com</a>&gt;&gt; wrote:<br>
<br>
            Oops, to keep the quotes it would be<br>
<br>
              -DSTD_METHOD_DIR=&#39;&quot;%{_libdir}/apt/methods&quot;&#39;<br>
<br>
<br>
        ​Would that override the in-code #define statement?​<br>
<br>
<br>
    Yes, because the #define is guarded by:<br>
<br>
    #ifndef STD_METHOD_DIR<br>
<br>
    so if it&#39;s defined on the command line then it won&#39;t get defined in<br>
    main.c<br>
<br>
    But whether you alter the #define in main.c or set it on the<br>
    command-line, using %{_libdir} seems better than /usr/lib64.<br>
<br></span><span class="">
​How do I append to the CFLAGS at the %configure statement?​<br>
</span></blockquote>
<br>
you don&#39;t need<br>
<br>
export CFLAGS=&quot;%{optflags} yourstuff&quot;<br>
export CXXFLAGS=&quot;%{optflags}  yourstuff&quot;<br>
%configure ...............<br>
<br>
P.S.: please don&#39;t quote the list-footer<br><br></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_default" style="font-family:&#39;times new roman&#39;,serif;font-size:large">​Thanks.​</div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">真実はいつも一つ!/ Always, there&#39;s only one truth!<br></div></div>
</div><font face="yw-402608bc37fe50adb11a5899295781aeb83d248d-415e7849c924eea8a13296cf85b1d5da--o" style="display: none;"></font></div>