diff components/main @ 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 1eb391057168
children 31384f415dae
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