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
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:
1 parent
303974a950
commit
55a885a206
1 file changed
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -Wall -g -std=gnu2x -DMG_TLS=MG_TLS_OPENSSL
|
CFLAGS = -Wall -g -std=gnu2x -DMG_TLS=MG_TLS_OPENSSL -ffunction-sections -fdata-sections
|
||||||
LDFLAGS =
|
LDFLAGS = -Wl,--gc-sections
|
||||||
LIBS = -lpthread -lcrypto -lssl -lsqlite3
|
LIBS = -lpthread -lcrypto -lssl -lsqlite3
|
||||||
INCLUDES = -I./src/lib -I./src
|
INCLUDES = -I./src/lib -I./src
|
||||||
SRCS = $(wildcard src/*/*.c src/*.c)
|
SRCS = $(wildcard src/*/*.c src/*.c)
|
||||||
|
|||||||
Reference in new issue
Block a user