On Mon, Aug 24, 2015 at 10:31 AM, Reindl Harald <h.rei...@thelounge.net>
wrote:

>
> Am 24.08.2015 um 16:27 schrieb Neal Gompa:
>
>> On Mon, Aug 24, 2015 at 10:15 AM, Jonathan Wakely <jwak...@redhat.com
>> <mailto:jwak...@redhat.com>>wrote:
>>
>>     On 24/08/15 10:06 -0400, Neal Gompa wrote:
>>
>>         On Mon, Aug 24, 2015 at 9:41 AM, Jonathan Wakely
>>         <jwak...@redhat.com <mailto:jwak...@redhat.com>> wrote:
>>
>>             Oops, to keep the quotes it would be
>>
>>               -DSTD_METHOD_DIR='"%{_libdir}/apt/methods"'
>>
>>
>>         ​Would that override the in-code #define statement?​
>>
>>
>>     Yes, because the #define is guarded by:
>>
>>     #ifndef STD_METHOD_DIR
>>
>>     so if it's defined on the command line then it won't get defined in
>>     main.c
>>
>>     But whether you alter the #define in main.c or set it on the
>>     command-line, using %{_libdir} seems better than /usr/lib64.
>>
>> ​How do I append to the CFLAGS at the %configure statement?​
>>
>
> you don't need
>
> export CFLAGS="%{optflags} yourstuff"
> export CXXFLAGS="%{optflags}  yourstuff"
> %configure ...............
>
> P.S.: please don't quote the list-footer
>
>
​Thanks.​


-- 
真実はいつも一つ!/ Always, there's only one truth!
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to