We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac5046c commit 5740f94Copy full SHA for 5740f94
configure
@@ -541,6 +541,18 @@ case $CFG_CPUTYPE in
541
CFG_CPUTYPE=x86_64
542
;;
543
544
+ mips | mips64)
545
+ if [ "$CFG_CPUTYPE" = "mips64" ]; then
546
+ CFG_OSTYPE="${CFG_OSTYPE}abi64"
547
+ fi
548
+ ENDIAN=$(printf '\1' | od -dAn)
549
+ if [ "$ENDIAN" -eq 1 ]; then
550
+ CFG_CPUTYPE="${CFG_CPUTYPE}el"
551
+ elif [ "$ENDIAN" -ne 256 ]; then
552
+ err "unknown endianness: $ENDIAN (expecting 1 for little or 256 for big)"
553
554
+ ;;
555
+
556
BePC)
557
CFG_CPUTYPE=i686
558
0 commit comments