aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-08-31 08:49:40 +0000
committer_ov4 <ov4@ov4.org>2026-08-31 08:49:40 +0000
commitd9f6eb2c043da7b2fbe389e930349a88bf49c167 (patch)
tree33e949f92fe1a5015119ee08647a056f89f571af
parentc62ddce2717cf8071adb62faececf06e2ec5aa02 (diff)
static
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8c3be66..66092f8 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,9 @@ TARGET = $(BUILD)/ccshell
CPPFLAGS = -I$(INCLUDE_DIR) -MMD -MP
CXXFLAGS = -std=c++23 -Wall -Wextra -O2
+# static
+LDFLAGS += -static -static-libgcc -static-libstdc++
+
SRCS = $(shell find $(SRC_DIR) -name '*.cc')
OBJS = $(SRCS:%=$(BUILD)/%.o)
DEPS = $(OBJS:.o=.d)