Skip to content

Commit

Permalink
Have GCC use the C99 standard.
Browse files Browse the repository at this point in the history
  • Loading branch information
farrellf committed Jul 2, 2014
1 parent 50edffc commit 3191380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CC=arm-none-eabi-gcc
OBJCOPY=arm-none-eabi-objcopy

# debugging and optimization flags
CFLAGS = -g -O2
CFLAGS = -g -O2 -std=c99
CFLAGS += -Wl,--gc-sections
#CFLAGS += -ffunction-sections -fdata-sections

Expand Down

0 comments on commit 3191380

Please sign in to comment.