make -O work with asm volatile(...)
This commit is contained in:
parent
5684556c19
commit
dff7ab3f8f
3 changed files with 35 additions and 35 deletions
2
Makefile
2
Makefile
|
@ -50,7 +50,7 @@ OBJCOPY = $(TOOLPREFIX)objcopy
|
|||
OBJDUMP = $(TOOLPREFIX)objdump
|
||||
|
||||
# CFLAGS = -fno-pic -static -fno-builtin -fno-strict-aliasing -Wall -MD -ggdb -Werror -fno-omit-frame-pointer -O
|
||||
CFLAGS = -Wall -Werror
|
||||
CFLAGS = -Wall -Werror -O
|
||||
CFLAGS += -mcmodel=medany
|
||||
CFLAGS += -ffreestanding -fno-common -nostdlib -mno-relax
|
||||
CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue