From 6248684a1269837a4e1989a8fc2c1dcf82a32288 Mon Sep 17 00:00:00 2001 From: Jozef Lawrynowicz Date: Mon, 7 Aug 2023 13:07:29 +0200 Subject: [PATCH] MSP430: Add -fno-exceptions multilib * config-ml.in (msp430-*-*): Support --disable-no-exceptions configure flag. --- config-ml.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config-ml.in b/config-ml.in index 1c66748b65f..68854a4f16c 100644 --- a/config-ml.in +++ b/config-ml.in @@ -383,6 +383,19 @@ mips*-*-*) done fi ;; +msp430-*-*) + if [ x$enable_no_exceptions = xno ] + then + old_multidirs="${multidirs}" + multidirs="" + for x in ${old_multidirs}; do + case "$x" in + *no-exceptions* ) : ;; + *) multidirs="${multidirs} ${x}" ;; + esac + done + fi + ;; powerpc*-*-* | rs6000*-*-*) if [ x$enable_aix64 = xno ] then -- 2.30.2