diff options
author | Brian Fraser <fraserbn@gmail.com> | 2014-01-15 06:42:35 -0300 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-01-17 11:35:48 -0300 |
commit | 1b2243c701f4438018242947ec41ea8dd65e3dbe (patch) | |
tree | b2e3cfa2f4f5d55a6fbc238600ad8a572bb904d5 /plan9 | |
parent | b76ca5cc32f3249b9a89eb81c445f069e69fb814 (diff) | |
download | perl-1b2243c701f4438018242947ec41ea8dd65e3dbe.tar.gz |
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.
Diffstat (limited to 'plan9')
-rw-r--r-- | plan9/config.plan9 | 4 | ||||
-rw-r--r-- | plan9/config_h.sample | 4 |
2 files changed, 4 insertions, 4 deletions
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 |