build(libhttp): lower optimization to -O2 to avoid cc1plus OOM on low-memory machines

This commit is contained in:
qing committed 2026-08-01 05:26:52 +08:00
1 parent cebef9fe70
commit 227fbb17f4
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ INCLU_TDIR := /usr/include
INCLU_SDIR := inc
CPP := g++
INCS := -I inc -I/opt/homebrew/include
CPPFLAGS := --std=c++20 -O3 -pipe -Wall -Werror
CPPFLAGS := --std=c++20 -O2 -Wall -Werror
LIBS := -L/opt/homebrew/lib -lssl -lcrypto -lcurl -lpthread
BUILD_TDIR := build
$(shell mkdir -p $(BUILD_TDIR))