diff options
author | marcel <marcel@FreeBSD.org> | 2014-01-13 19:01:14 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-01-13 19:01:14 +0000 |
commit | 29c2e7b72abd02d7f55b845f14d967b0e1a44f36 (patch) | |
tree | b53cfb08a448579a08f567cfec1ed6af4d71bf16 /contrib/libc++/src/utility.cpp | |
parent | 82e11f8c24339a03167e01c1bbdcf995d3b91f31 (diff) | |
download | FreeBSD-src-29c2e7b72abd02d7f55b845f14d967b0e1a44f36.zip FreeBSD-src-29c2e7b72abd02d7f55b845f14d967b0e1a44f36.tar.gz |
Re-apply the part of r260022 that was reverted by r260030 with
one significant difference: for LIB32 builds both TARGET_ARCH
and MACHINE_ARCH are defined. TARGET_ARCH confusingly holds the
architecture of the host (e.g. amd64), while MACHINE_ARCH holds
the architecture were trying to build (e.g. i386). With both
set and different, r260022 changed the behaviour to interpret
the condition as building a cross-amd64 libkvm on i386, when
obviously we're trying to build an i386 version on amd64. When
COMPAT_32BIT is defined, we're building LIB32 and ignore the
value of TARGET_ARCH as we did before.
Diffstat (limited to 'contrib/libc++/src/utility.cpp')
0 files changed, 0 insertions, 0 deletions