[KinoSearch] [kinosearch-commits] r5736 - trunk/perl/buildlib/KinoSearch
Peter Karman
peter at peknet.com
Sat Jan 23 18:21:38 PST 2010
Peter Karman wrote on 1/23/10 8:00 PM:
>> +
>> + # Tell GCC to compile with a target architecture of 486 rather than
>> + # the default 386 so that intrinsic atomics will be available.
>> + if ( $extra_ccflags !~ /-march=\w+/ ) {
>> + $extra_ccflags .= "-march=i486 ";
>> + }
>
> that flag, while necessary on 32bit archs that I've tried, breaks compilation
> immediately under 64bit archs with the message:
>
> cc1: CPU you selected does not support x86-64 instruction set
>
>
perhaps checking $Config{'cppsymbols'} in Build.pm would be appropriate, for
conditionally setting -march ?
--
Peter Karman . http://peknet.com/ . peter at peknet.com
More information about the kinosearch
mailing list