From 0093ca2b0e3fcbb71649682a84def684340f01c9 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 5 Mar 2018 00:02:34 +0100 Subject: [PATCH] Handle SPARC V8+ on Sun Studio compiler --- src/local-elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/local-elf.h b/src/local-elf.h index f7cbd83..c11bf6e 100644 --- a/src/local-elf.h +++ b/src/local-elf.h @@ -186,7 +186,7 @@ #define ELF_TARG_MACH EM_SPARCV9 #define ELF_TARG_CLASS ELFCLASS64 #else -#if defined(__sparc_v9__) +#if defined(__sparc_v9__) || defined(__sparcv9) #define ELF_TARG_MACH EM_SPARC32PLUS #else #define ELF_TARG_MACH EM_SPARC