mirror of
https://github.com/tailix/kernel.git
synced 2024-11-20 11:16:10 -05:00
Add CFLAGS
This commit is contained in:
parent
f25e91524c
commit
d6e3ae793f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ kernel: $(OBJS)
|
|||
$(CC) -T linker.ld -o $@ -ffreestanding -nostdlib -lgcc $(OBJS)
|
||||
|
||||
%.c.o: %.c
|
||||
$(CC) -c $< -o $@ -std=gnu99 -ffreestanding -Wall -Wextra
|
||||
$(CC) -c $< -o $@ -std=gnu99 -ffreestanding -fno-builtin -fno-stack-protector -Wall -Wextra
|
||||
|
||||
%.s.o: %.s
|
||||
$(AS) $< -o $@
|
||||
|
|
Loading…
Reference in a new issue