Merge pull request #85 from dancek/static-build-target
Add target `make musl-static`
This commit is contained in:
commit
fe3135213e
@ -70,6 +70,7 @@ Alternatively, `build/build` (aka build.bqn) can be invoked manually, though not
|
|||||||
- `make wasi-o3` - build targeting WASI
|
- `make wasi-o3` - build targeting WASI
|
||||||
- `make wasi-reactor-o3` - build producing a WASI Reactor
|
- `make wasi-reactor-o3` - build producing a WASI Reactor
|
||||||
- `make debug` - unoptimized build with extra assertion checks (also includes `-g`)
|
- `make debug` - unoptimized build with extra assertion checks (also includes `-g`)
|
||||||
|
- `make static-bin` - build a statically linked executable (for a fully standalone binary, try `make static-bin CC=musl-gcc REPLXX=0`)
|
||||||
|
|
||||||
All of the above will go through build.bqn. If that causes problems, `make o3-makeonly` or `make c-makeonly` can be used. These still enable REPLXX by default, but do not support Singeli. Furthermore, these targets don't support some of the build flags that the others do.
|
All of the above will go through build.bqn. If that causes problems, `make o3-makeonly` or `make c-makeonly` can be used. These still enable REPLXX by default, but do not support Singeli. Furthermore, these targets don't support some of the build flags that the others do.
|
||||||
|
|
||||||
|
|||||||
2
makefile
2
makefile
@ -80,6 +80,8 @@ shared-o3:
|
|||||||
@"${MAKE}" to-bqn-build REPLXX=0 i_SHARED=1
|
@"${MAKE}" to-bqn-build REPLXX=0 i_SHARED=1
|
||||||
shared-c:
|
shared-c:
|
||||||
@"${MAKE}" to-bqn-build REPLXX=0 i_SHARED=1 i_build_opts=c
|
@"${MAKE}" to-bqn-build REPLXX=0 i_SHARED=1 i_build_opts=c
|
||||||
|
static-bin:
|
||||||
|
@"${MAKE}" to-bqn-build FFI=0 LDFLAGS="-static"
|
||||||
|
|
||||||
# mappings of old names
|
# mappings of old names
|
||||||
o3-singeli: o3
|
o3-singeli: o3
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user