changeset 79:621b358b760d

components/main: compile exceptions.S for gcc
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Jul 2018 06:51:54 +0000
parents 95ef11e76c5b
children 31384f415dae
files components/main
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/components/main	Fri Jul 20 06:46:56 2018 +0000
+++ b/components/main	Fri Jul 20 06:51:54 2018 +0000
@@ -87,3 +87,13 @@
 asm_file $SRCDIR/int.s
 
 fi
+
+# exceptions.S for gcc
+
+if [ "$COMPILER" = gcc ]
+then
+	ASMFLAGS=-mthumb-interwork
+	CPPFLAGS=
+
+	asm_file $SRCDIR/gcc/exceptions.S
+fi