From 1b2243c701f4438018242947ec41ea8dd65e3dbe Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Wed, 15 Jan 2014 06:42:35 -0300 Subject: config.h: Remove the exceptions for cross-compilation builds This makes it so that the values for MEM_ALIGNBYTES and BYTEORDER are taken from config.sh, instead of always getting a default. --- plan9/config.plan9 | 4 ++-- plan9/config_h.sample | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plan9') diff --git a/plan9/config.plan9 b/plan9/config.plan9 index 5820e9c07b..88d4a34157 100644 --- a/plan9/config.plan9 +++ b/plan9/config.plan9 @@ -1013,7 +1013,7 @@ * double, or a long double when applicable. Usual values are 2, * 4 and 8. The default is eight, for safety. */ -#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) +#if defined(MULTIARCH) # define MEM_ALIGNBYTES 8 #else #define MEM_ALIGNBYTES 4 @@ -1082,7 +1082,7 @@ * so the default case (for NeXT) is big endian to catch them. * This might matter for NeXT 3.0. */ -#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) +#if defined(MULTIARCH) # ifdef __LITTLE_ENDIAN__ # if LONGSIZE == 4 # define BYTEORDER 0x1234 /* config-skip */ diff --git a/plan9/config_h.sample b/plan9/config_h.sample index 2632187b2f..8b41865c13 100644 --- a/plan9/config_h.sample +++ b/plan9/config_h.sample @@ -970,7 +970,7 @@ * double, or a long double when applicable. Usual values are 2, * 4 and 8. The default is eight, for safety. */ -#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) +#if defined(MULTIARCH) # define MEM_ALIGNBYTES 8 #else #define MEM_ALIGNBYTES 4 @@ -1039,7 +1039,7 @@ * so the default case (for NeXT) is big endian to catch them. * This might matter for NeXT 3.0. */ -#if defined(USE_CROSS_COMPILE) || defined(MULTIARCH) +#if defined(MULTIARCH) # ifdef __LITTLE_ENDIAN__ # if LONGSIZE == 4 # define BYTEORDER 0x1234 -- cgit v1.2.1