diff --git a/configure b/configure index eff314a..a4bf098 100755 --- a/configure +++ b/configure @@ -500,6 +500,7 @@ if test -z "$BUILD_TARGET"; then sh3|sh4|sh4a) HOST_ARCH=sh ;; s390) HOST_ARCH=s390 ;; s390x) HOST_ARCH=s390x ;; + sw_64) HOST_ARCH=sw_64 ;; *mips*) HOST_ARCH=mips ;; nios2) HOST_ARCH=nios2 ;; vax) HOST_ARCH=vax ;; diff --git a/librhash/test_lib.h b/librhash/test_lib.h index eb0d045..773dbf0 100644 --- a/librhash/test_lib.h +++ b/librhash/test_lib.h @@ -123,6 +123,15 @@ char* compiler_flags = "Compile-time flags:" #ifdef sparc " sparc" #endif +#ifdef __sw_64 + " __sw_64" +#endif +#ifdef __sw_64__ + " __sw_64__" +#endif +#ifdef sw_64 + " sw_64" +#endif #ifdef _ARCH_PPC " _ARCH_PPC" #endif