* config/i386/sol2.h (CC1_SPEC): Reject -mx32.
From-SVN: r271411
+2019-05-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * config/i386/sol2.h (CC1_SPEC): Reject -mx32.
+
2019-05-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/sol2.h (LIBTSAN_EARLY_SPEC): Remove : after %e.
#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. */