commit 387423f
shrub
·
2026-06-27 22:40:31 +0000 UTC
parent c493683
makefile flags
1 files changed,
+3,
-3
M
Makefile
M
Makefile
+3,
-3
1@@ -44,9 +44,9 @@ RUNNERSRCS = tests/runner/case.go \
2 HELPERSRCS = tests/runner/testhelp/main.go
3
4 CC = cc
5-CFLAGS = -O2 -Wall -Wextra -pedantic
6-CPPFLAGS = -Isrc -Ibackends -DSHIN_WITH_GNU=$(SHIN_WITH_GNU)
7-LDFLAGS = -static
8+CFLAGS = -std=c99 -O2 -Wall -Wextra -pedantic
9+CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -Isrc -Ibackends -DSHIN_WITH_GNU=$(SHIN_WITH_GNU)
10+LDFLAGS =
11
12 # set to 0 to exclude gnu mode from the runtime -M flag
13 SHIN_WITH_GNU = 1