Fix GCC warnings.
This commit is contained in:
parent
6137f21b48
commit
55ddcb3514
2
Makefile
2
Makefile
@ -90,7 +90,7 @@ CFLAGS += -Os
|
|||||||
# All warning messages
|
# All warning messages
|
||||||
CFLAGS += -Wall -Wextra
|
CFLAGS += -Wall -Wextra
|
||||||
# Puts functions and data into its own section - remove thread-safe things
|
# Puts functions and data into its own section - remove thread-safe things
|
||||||
CFLAGS += -fno-exceptions -fstack-usage -fdump-tree-optimized -ffunction-sections -fdata-sections -fno-threadsafe-statics
|
CFLAGS += -fno-exceptions -fstack-usage -fdump-tree-optimized -ffunction-sections -fdata-sections
|
||||||
# Use smallest size for enums
|
# Use smallest size for enums
|
||||||
CFLAGS += -fshort-enums
|
CFLAGS += -fshort-enums
|
||||||
# Microcontroller
|
# Microcontroller
|
||||||
|
Loading…
Reference in New Issue
Block a user