aboutsummaryrefslogtreecommitdiff
path: root/config-ml.in
diff options
context:
space:
mode:
authorJozef Lawrynowicz <jozefl@gcc.gnu.org>2023-08-07 13:07:29 +0200
committerAlan Modra <amodra@gmail.com>2023-08-12 10:24:26 +0930
commit6248684a1269837a4e1989a8fc2c1dcf82a32288 (patch)
tree23719da8d37df401c003bf12076ced653b07c811 /config-ml.in
parentb63eb8bc8c6566314ee5fe2e054ae0685a8b12c0 (diff)
downloadgdb-6248684a1269837a4e1989a8fc2c1dcf82a32288.zip
gdb-6248684a1269837a4e1989a8fc2c1dcf82a32288.tar.gz
gdb-6248684a1269837a4e1989a8fc2c1dcf82a32288.tar.bz2
MSP430: Add -fno-exceptions multilib
* config-ml.in (msp430-*-*): Support --disable-no-exceptions configure flag.
Diffstat (limited to 'config-ml.in')
-rw-r--r--config-ml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/config-ml.in b/config-ml.in
index 1c66748..68854a4 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