From: Laurent Mazet Date: Tue, 13 Dec 2022 11:03:08 +0000 (+0100) Subject: size optimization X-Git-Url: https://secure.softndesign.org/git/?p=compress.git;a=commitdiff_plain;h=9771e10f35df33f1a42f4d9ffb4905e1078923e2 size optimization --- diff --git a/makefile b/makefile index 49a8ae7..918645f 100644 --- a/makefile +++ b/makefile @@ -3,8 +3,9 @@ CC = gcc INCLUDES = -I../debug -D__MEMORY_ALLOCATION__ +OFLAGS = -O4 -Os #OFLAGS = -O4 -ffast-math -finline-functions -OFLAGS = -O4 -finline-functions +#OFLAGS = -O4 -finline-functions #OFLAGS += -mtune=pentium3 -mmmx -msse -msse2 -m3dnow #OFLAGS += -minline-all-stringops -fsingle-precision-constant #OFLAGS += -malign-double @@ -12,7 +13,6 @@ CFLAGS += -W -Wall -Wextra -g CFLAGS += -std=c99 -D_XOPEN_SOURCE=500 CFLAGS += $(OFLAGS) $(INCLUDES) LDFLAGS += -g -LDFLAGS += -static-libgcc # Targets