diff options
| author | m0 <dev@kthread.dev> | 2026-08-27 22:18:34 +0200 |
|---|---|---|
| committer | m0 <dev@kthread.dev> | 2026-08-27 22:18:34 +0200 |
| commit | ea4756a768fa05c3f88bacc9d14356b0a0e5973f (patch) | |
| tree | bc8f22718cc4a0927762f41b423c91593f1e4395 /4init/config.mk | |
| parent | 4rc: move to golang (diff) | |
| download | 4suite-trunk.tar.gz 4suite-trunk.tar.bz2 4suite-trunk.tar.xz 4suite-trunk.zip | |
Diffstat (limited to '')
| -rw-r--r-- | 4init/config.mk | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/4init/config.mk b/4init/config.mk index ab7e752..acec08c 100644 --- a/4init/config.mk +++ b/4init/config.mk | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | PREFIX = /usr/local | 1 | PREFIX = /usr/local |
| 2 | BINDIR = $(PREFIX)/sbin | ||
| 2 | 3 | ||
| 3 | CC = musl-gcc | 4 | CC = tcc |
| 4 | CFLAGS = -std=c99 -Wextra -Wall -Os -fhardened | 5 | |
| 5 | LDFLAGS = -s -static | 6 | CFLAGS = -Wall -Werror |
| 7 | CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 | ||
| 8 | |||
| 9 | LDFLAGS = | ||
| 10 | # if you are on musl libc, or any other non-shitty, gnu infested libc, I highly suggest enabling static linking | ||
| 11 | # LDFLAGS = -static | ||
