Re: Do you know how many 64-bit architectures Fedora has?

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

 



On Mon, Aug 24, 2015 at 10:31 AM, Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote:

Am 24.08.2015 um 16:27 schrieb Neal Gompa:
On Mon, Aug 24, 2015 at 10:15 AM, Jonathan Wakely <jwakely@xxxxxxxxxx
<mailto:jwakely@xxxxxxxxxx>>wrote:

    On 24/08/15 10:06 -0400, Neal Gompa wrote:

        On Mon, Aug 24, 2015 at 9:41 AM, Jonathan Wakely
        <jwakely@xxxxxxxxxx <mailto:jwakely@xxxxxxxxxx>> 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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[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