aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMarcus Comstedt <marcus@mc.pp.se>2019-08-18 16:03:43 +0200
committerMarcus Comstedt <marcus@mc.pp.se>2019-10-28 09:23:32 +0100
commitf437e6a4e9983be0583ee1bf34512f80f3cc0162 (patch)
treef3ac0efc442019566f31aa5ba26c78915e80a0b6 /configure
parent5652b9dd6298c7b61fe80bc2a508bbd3c9e5c5ef (diff)
downloadspike-f437e6a4e9983be0583ee1bf34512f80f3cc0162.zip
spike-f437e6a4e9983be0583ee1bf34512f80f3cc0162.tar.gz
spike-f437e6a4e9983be0583ee1bf34512f80f3cc0162.tar.bz2
Implement support for big-endian hosts
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index fee4f60..bf8dd50 100755
--- a/configure
+++ b/configure
@@ -4130,7 +4130,8 @@ fi
$as_echo "$ac_cv_c_bigendian" >&6; }
case $ac_cv_c_bigendian in #(
yes)
- as_fn_error $? "Spike requires a little-endian host" "$LINENO" 5;; #(
+ $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
+;; #(
no)
;; #(
universal)