diff options
author | Krzysztof Blazewicz <blazewicz.krzysztof@gmail.com> | 2017-03-05 13:28:27 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-03-23 15:32:12 +1100 |
commit | 75589272ef12d538ab7ce4f4453be85d826b5083 (patch) | |
tree | e19b60155b124a325fe8776ca2321cfef00e691a /mpy-cross | |
parent | 4a4bb84e9216a130050a13e20a19fbf476ed6e6c (diff) | |
download | micropython-75589272ef12d538ab7ce4f4453be85d826b5083.tar.gz micropython-75589272ef12d538ab7ce4f4453be85d826b5083.zip |
all/Makefile: Remove -ansi from GCC flags, its ignored anyway.
The -ansi flag is used for C dialect selection and it is equivalent to -std=c90.
Because it goes right before -std=gnu99 it is ignored as for conflicting flags
GCC always uses the last one.
Diffstat (limited to 'mpy-cross')
-rw-r--r-- | mpy-cross/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpy-cross/Makefile b/mpy-cross/Makefile index 3f99566209..3d5e5da2f9 100644 --- a/mpy-cross/Makefile +++ b/mpy-cross/Makefile @@ -19,7 +19,7 @@ INC += -I$(BUILD) # compiler settings CWARN = -Wall -Werror CWARN += -Wpointer-arith -Wuninitialized -CFLAGS = $(INC) $(CWARN) -ansi -std=gnu99 $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA) +CFLAGS = $(INC) $(CWARN) -std=gnu99 $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA) CFLAGS += -fdata-sections -ffunction-sections -fno-asynchronous-unwind-tables # Debugging/Optimization |