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

Reindl Harald h.reindl at thelounge.net
Mon Aug 24 14:31:02 UTC 2015


Am 24.08.2015 um 16:27 schrieb Neal Gompa:
> On Mon, Aug 24, 2015 at 10:15 AM, Jonathan Wakely <jwakely at redhat.com
> <mailto:jwakely at redhat.com>>wrote:
>
>     On 24/08/15 10:06 -0400, Neal Gompa wrote:
>
>         On Mon, Aug 24, 2015 at 9:41 AM, Jonathan Wakely
>         <jwakely at redhat.com <mailto:jwakely at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150824/dc902803/attachment.sig>


More information about the devel mailing list