Template
build: add musl static target (clang/gcc)
This commit is contained in:
+8
-1
@@ -5,4 +5,11 @@
|
||||
SUBDIRS = src
|
||||
|
||||
TESTS = tests/run.sh
|
||||
EXTRA_DIST = tests/run.sh
|
||||
EXTRA_DIST = tests/run.sh scripts/build-static.sh
|
||||
|
||||
# Fully-static musl build (explicit opt-in; the default build stays dynamic).
|
||||
# Requires a musl toolchain on the host - see scripts/build-static.sh for
|
||||
# the probe order (musl-gcc -> musl-clang -> clang+sysroot -> apt -> musl.cc).
|
||||
.PHONY: static
|
||||
static:
|
||||
$(SHELL) "$(srcdir)/scripts/build-static.sh"
|
||||
|
||||
Reference in New Issue
Block a user