Skip to content

Commit

Permalink
build: use O2 instead of O3
Browse files Browse the repository at this point in the history
  • Loading branch information
loathingKernel committed Jan 27, 2025
1 parent e05a80b commit 9691d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ else
endif

CROSSLDFLAGS += -Wl,--file-alignment,4096
CFLAGS ?= -O3 -march=core-avx2 -mtune=core-avx2
CFLAGS ?= -O2 -march=core-avx2 -mtune=core-avx2
OPTIMIZE_FLAGS := $(CFLAGS) -mfpmath=sse
SANITY_FLAGS := -fwrapv -fno-strict-aliasing
DEBUG_FLAGS := -ggdb -ffunction-sections -fdata-sections -fno-omit-frame-pointer
Expand Down

0 comments on commit 9691d46

Please sign in to comment.