diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2013-10-05 05:13:18 -0500 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2014-02-23 16:15:54 -0600 |
commit | 3a3c813e08d808224c12fd0e9104aeff7c45c9a7 (patch) | |
tree | 508b28c42438615d711afcb9b44d7b0e0842f28d /configure | |
parent | d05aaedaabd4f5472c233dbbd1ff4bb9c9c99794 (diff) | |
download | musl-3a3c813e08d808224c12fd0e9104aeff7c45c9a7.tar.gz musl-3a3c813e08d808224c12fd0e9104aeff7c45c9a7.tar.bz2 musl-3a3c813e08d808224c12fd0e9104aeff7c45c9a7.tar.xz musl-3a3c813e08d808224c12fd0e9104aeff7c45c9a7.zip |
superh port
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -229,6 +229,7 @@ x86_64*) ARCH=x86_64 ;; mips-*|mipsel-*) ARCH=mips ;; microblaze-*) ARCH=microblaze ;; powerpc-*) ARCH=powerpc ;; +sh-*) ARCH=superh ;; unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;; *) fail "$0: unknown or unsupported target \"$target\"" ;; esac @@ -418,6 +419,9 @@ test "$ARCH" = "mips" && trycppif "_MIPSEL || __MIPSEL || __MIPSEL__" "$t" \ test "$ARCH" = "microblaze" && trycppif __MICROBLAZEEL__ "$t" \ && SUBARCH=${SUBARCH}el +test "$ARCH" = "superh" && trycppif __LITTLE_ENDIAN__ "$t" \ +&& SUBARCH=${SUBARCH}el + test "$SUBARCH" \ && printf "configured for %s variant: %s\n" "$ARCH" "$ARCH$SUBARCH" |