Message ID | ydd5zq5pdi3.fsf@CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
Series | Reject -mx32 on Solaris/x86 | expand |
# HG changeset patch # Parent d206c777312bc2a8211d734e485031f191dce352 Reject -mx32 on Solaris/x86 diff --git a/gcc/config/i386/sol2.h b/gcc/config/i386/sol2.h --- a/gcc/config/i386/sol2.h +++ b/gcc/config/i386/sol2.h @@ -55,7 +55,8 @@ along with GCC; see the file COPYING3. #define CPP_SPEC "%(cpp_subtarget)" #undef CC1_SPEC -#define CC1_SPEC "%(cc1_cpu) " ASAN_CC1_SPEC +#define CC1_SPEC "%(cc1_cpu) " ASAN_CC1_SPEC \ + " %{mx32:%e-mx32 is not supported on Solaris}" /* GNU as understands --32 and --64, but the native Solaris assembler requires -xarch=generic or -xarch=generic64 instead. */