mirror of https://github.com/ARMmbed/mbed-os.git
Optimize space usage on builds
by not creating gigantic exception nonsensepull/4949/head
parent
33113ae207
commit
23aafbfe6c
|
@ -18,7 +18,8 @@
|
||||||
"ARMC6": {
|
"ARMC6": {
|
||||||
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-g", "-O0",
|
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-g", "-O0",
|
||||||
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
|
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
|
||||||
"-DMULADDC_CANNOT_USE_R7"],
|
"-DMULADDC_CANNOT_USE_R7", "-fdata-sections",
|
||||||
|
"-fno-exceptions"],
|
||||||
"asm": [],
|
"asm": [],
|
||||||
"c": ["-D__ASSERT_MSG", "-std=gnu99"],
|
"c": ["-D__ASSERT_MSG", "-std=gnu99"],
|
||||||
"cxx": ["-fno-rtti", "-std=gnu++98"],
|
"cxx": ["-fno-rtti", "-std=gnu++98"],
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
"ARMC6": {
|
"ARMC6": {
|
||||||
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-Os",
|
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-Os",
|
||||||
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
|
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
|
||||||
"-DMULADDC_CANNOT_USE_R7"],
|
"-DMULADDC_CANNOT_USE_R7", "-fdata-sections",
|
||||||
|
"-fno-exceptions"],
|
||||||
"asm": [],
|
"asm": [],
|
||||||
"c": ["-D__ASSERT_MSG", "-std=gnu99"],
|
"c": ["-D__ASSERT_MSG", "-std=gnu99"],
|
||||||
"cxx": ["-fno-rtti", "-std=gnu++98"],
|
"cxx": ["-fno-rtti", "-std=gnu++98"],
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
"ARMC6": {
|
"ARMC6": {
|
||||||
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-Oz",
|
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-Oz",
|
||||||
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
|
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
|
||||||
"-DMULADDC_CANNOT_USE_R7"],
|
"-DMULADDC_CANNOT_USE_R7", "-fdata-sections",
|
||||||
|
"-fno-exceptions"],
|
||||||
"asm": [],
|
"asm": [],
|
||||||
"c": ["-D__ASSERT_MSG", "-std=gnu99"],
|
"c": ["-D__ASSERT_MSG", "-std=gnu99"],
|
||||||
"cxx": ["-fno-rtti", "-std=gnu++98"],
|
"cxx": ["-fno-rtti", "-std=gnu++98"],
|
||||||
|
|
Loading…
Reference in New Issue