Skip to content

Commit

Permalink
Makefile: Optimize compilation options
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Pei <[email protected]>
  • Loading branch information
cp0613 committed Nov 13, 2024
1 parent f12de02 commit 7f3f2b2
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 @@ -4,7 +4,7 @@ AR = $(CROSS_COMPILE)ar
LD = $(CROSS_COMPILE)ld
OBJCOPY = $(CROSS_COMPILE)objcopy
OBJDUMP = $(CROSS_COMPILE)objdump
CFLAGS = -fPIC -fno-stack-protector
CFLAGS = -fPIC -fno-stack-protector -O2
TARGET = zero_stage_boot
${TARGET}.elf: start.o feature.o jump.o
$(LD) $(CROSS_LDFLAGS) -Tlink.lds $^ -o $@
Expand Down

0 comments on commit 7f3f2b2

Please sign in to comment.