use O2 instead of O3

This commit is contained in:
Mylloon 2024-04-20 15:42:32 +02:00
parent 7ed34b152e
commit 808d869d53
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -21,7 +21,7 @@ PDF_DIR = report
%.o: src/%.c %.o: src/%.c
$(CC) -c $< -o $@ $(CFLAGS) $(CC) -c $< -o $@ $(CFLAGS)
release: CFLAGS += -O3 release: CFLAGS += -O2
release: compilation release: compilation
debug: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes debug: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes