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-ea4756a768fa05c3f88bacc9d14356b0a0e5973f.tar.gz 4suite-ea4756a768fa05c3f88bacc9d14356b0a0e5973f.zip | |
repo: testtrunk
Diffstat (limited to '4init/config.mk')
| -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 @@ -PREFIX = /usr/local +PREFIX = /usr/local +BINDIR = $(PREFIX)/sbin -CC = musl-gcc -CFLAGS = -std=c99 -Wextra -Wall -Os -fhardened -LDFLAGS = -s -static +CC = tcc + +CFLAGS = -Wall -Werror +CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 + +LDFLAGS = +# if you are on musl libc, or any other non-shitty, gnu infested libc, I highly suggest enabling static linking +# LDFLAGS = -static |
