Disable default warning flag "-Wall"

This commit is contained in:
Ivan Kravets
2014-08-02 13:23:42 +03:00
parent 1b2339c3bd
commit ce0c1f9f4a
3 changed files with 4 additions and 4 deletions

View File

@ -33,10 +33,10 @@ env.Replace(
CCFLAGS=[ CCFLAGS=[
"-g", # include debugging info (so errors include line numbers) "-g", # include debugging info (so errors include line numbers)
"-Os", # optimize for size "-Os", # optimize for size
"-Wall", # show warnings # "-Wall", # show warnings
"-ffunction-sections", # place each function in its own section "-ffunction-sections", # place each function in its own section
"-fdata-sections", "-fdata-sections",
"-MMD", # output dependancy info "-MMD", # output dependency info
"-mmcu=$BOARD_MCU" "-mmcu=$BOARD_MCU"
], ],

View File

@ -33,7 +33,7 @@ env.Replace(
CCFLAGS=[ CCFLAGS=[
"-g", # include debugging info (so errors include line numbers) "-g", # include debugging info (so errors include line numbers)
"-Os", # optimize for size "-Os", # optimize for size
"-Wall", # show warnings # "-Wall", # show warnings
"-ffunction-sections", # place each function in its own section "-ffunction-sections", # place each function in its own section
"-fdata-sections", "-fdata-sections",
"-MMD", # output dependancy info "-MMD", # output dependancy info

View File

@ -37,7 +37,7 @@ env.Replace(
CCFLAGS=[ CCFLAGS=[
"-g", # include debugging info (so errors include line numbers) "-g", # include debugging info (so errors include line numbers)
"-Os", # optimize for size "-Os", # optimize for size
"-Wall", # show warnings # "-Wall", # show warnings
"-ffunction-sections", # place each function in its own section "-ffunction-sections", # place each function in its own section
"-fdata-sections", "-fdata-sections",
"-Wall", "-Wall",