diff components/sim_drv @ 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/sim_drv	Thu Jul 19 03:09:24 2018 +0000
+++ b/components/sim_drv	Thu Jul 19 19:23:19 2018 +0000
@@ -5,6 +5,7 @@
 # CFLAGS and CPPFLAGS for sim.c
 
 CFLAGS="-mn -mt -o -x -mw -me -pw2"
+CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork -mthumb"
 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
 
 # Includes
@@ -49,6 +50,7 @@
 # CFLAGS and CPPFLAGS for sim32.c
 
 CFLAGS="-o -x -mw -me -pw2"
+CFLAGS_gcc="-O2 -fno-builtin -mthumb-interwork"
 CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"
 
 # Includes