Use GCC only for specific ARCH

Christoph Moench-Tegeder cmt at burggraben.net
Wed Dec 10 08:29:36 UTC 2014


## Daniel Morante (daniel at morante.net):

> I have a port that builds fine on a 9.3 amd64, but on 9.3 i386 it fails 
> on this line:
> 
> inline int64 GetMaxMoney() { return nBestHeight <= HARDFORK_HEIGHT_1 ? 
> 50000000000 * COIN : 25000000000 * COIN; }
> 
> With the following error:
> 
> "integer constant is too large for 'long' type"

I believe the fix is to make sure those constants are interpreted as
"long long", e.g. by post-fixing LL.

Regards,
Christoph

-- 
Spare Space


More information about the freebsd-ports mailing list