diff options
Diffstat (limited to 'bsp/simulator/rtconfig.py')
| -rwxr-xr-x | bsp/simulator/rtconfig.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bsp/simulator/rtconfig.py b/bsp/simulator/rtconfig.py index 3d0c641ef6..2b396c5455 100755 --- a/bsp/simulator/rtconfig.py +++ b/bsp/simulator/rtconfig.py @@ -71,10 +71,10 @@ elif PLATFORM == 'mingw': DEVICE = ' -ffunction-sections -fdata-sections' DEVICE = ' ' - CFLAGS = ' -Wl,--output-def ' + CFLAGS = DEVICE AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp' - #LFLAGS = DEVICE + ' -Wl,-Map=rtthread-win32.map -T mingw.ld' - LFLAGS = DEVICE + ' -Wl,-Map=rtthread-win32.map --gc-sections,--whole-archive -T mingw.ld ' + DEFFILE_LFLAGS = DEVICE + ' -Wl,-Map=rtthread-win32.map,--output-def,rtthread.def -T mingw.ld ' + LFLAGS = DEVICE + ' -Wl,-Map=rtthread-win32.map -T mingw.ld ' CPATH = '' LPATH = '' |
