Fix Makefile for old gccs
This commit is contained in:
parent
b2bcc11256
commit
f090d7a268
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -6,7 +6,7 @@
|
|||
F_CPU = 16000000
|
||||
DEVICE = atmega168
|
||||
|
||||
CFLAGS = -g2 -mmcu=$(DEVICE) -DF_CPU=$(F_CPU)
|
||||
CFLAGS = -g2 -mmcu=$(DEVICE) -DF_CPU=$(F_CPU) -std=c99
|
||||
CFLAGS+= -Os -ffunction-sections -fdata-sections -fpack-struct -fno-move-loop-invariants -fno-tree-scev-cprop -fno-inline-small-functions
|
||||
CFLAGS+= -Wall -Wno-pointer-to-int-cast
|
||||
#CFLAGS+= -Wa,-ahls=$<.lst
|
||||
|
|
|
|||
Loading…
Reference in a new issue