added optimization for size
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 18s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 15s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 12s

This commit is contained in:
wt
2025-10-15 13:47:12 +07:00
parent 303974a950
commit 55a885a206
+2 -2
View File
@@ -1,6 +1,6 @@
CC = gcc
CFLAGS = -Wall -g -std=gnu2x -DMG_TLS=MG_TLS_OPENSSL
LDFLAGS =
CFLAGS = -Wall -g -std=gnu2x -DMG_TLS=MG_TLS_OPENSSL -ffunction-sections -fdata-sections
LDFLAGS = -Wl,--gc-sections
LIBS = -lpthread -lcrypto -lssl -lsqlite3
INCLUDES = -I./src/lib -I./src
SRCS = $(wildcard src/*/*.c src/*.c)