diff components/drivers_flash @ 50:a9a7d531e673

components: initial support for gcc
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 19 Jul 2018 19:23:19 +0000
parents b6c8dd9a1b02
children 1155be085fc1
line wrap: on
line diff
--- a/components/drivers_flash	Thu Jul 19 03:09:24 2018 +0000
+++ b/components/drivers_flash	Thu Jul 19 19:23:19 2018 +0000
@@ -1,6 +1,7 @@
 # Building drivers_flash.lib
 
 CFLAGS="-me -pw2 -mn -x -mt -o2 -mw"
+CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb"
 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
 
 # Includes
@@ -67,5 +68,6 @@
 # niq32
 
 CFLAGS="-me -pw2 -x -o -mw"
+CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork"
 
 c_file $SRCDIR/inth/niq32.c