|
|
@@ -23,11 +23,11 @@ if PLATFORM == 'gcc':
|
|
|
STRIP = PREFIX + 'strip'
|
|
|
CFPFLAGS = ' -msoft-float'
|
|
|
AFPFLAGS = ' -mfloat-abi=softfp -mfpu=vfpv3-d16'
|
|
|
- DEVICE = ' -march=armv7-a -mtune=cortex-a7 -ftree-vectorize -ffast-math -funwind-tables -fno-strict-aliasing'
|
|
|
+ DEVICE = ' -march=armv7-a -mtune=cortex-a7 -ftree-vectorize -ffast-math -funwind-tables -fno-strict-aliasing -fcommon'
|
|
|
|
|
|
CXXFLAGS= DEVICE + CFPFLAGS + ' -Wall'
|
|
|
CFLAGS = DEVICE + CFPFLAGS + ' -Wall -std=gnu99'
|
|
|
- AFLAGS = ' -c' + AFPFLAGS + ' -x assembler-with-cpp -D__ASSEMBLY__'
|
|
|
+ AFLAGS = DEVICE + ' -c' + AFPFLAGS + ' -x assembler-with-cpp -D__ASSEMBLY__'
|
|
|
LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,system_vectors -T link.lds' + ' -lgcc'
|
|
|
CPATH = ''
|
|
|
LPATH = ''
|