mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-27 17:18:53 +00:00
9f7e47368f
Dynamically loading the `compat-libc` breaks `fork(2)` on Genode. Switch `compat-libc` to a special api package that provides a source file for statically linking the library, analogous to the `blit` package. This also requires a quirk in Goa but should prevent breaking `fork()` and removes the runtime and archive dependencies for Rust packages using `compat-libc`. Ref genodelabs/goa#61
11 lines
162 B
Makefile
11 lines
162 B
Makefile
LIBS += libc
|
|
COMPAT_DIR = $(REP_DIR)/src/lib/compat-libc
|
|
|
|
SRC_CC = compat.cc
|
|
|
|
vpath %.cc $(COMPAT_DIR)
|
|
|
|
CC_CXX_WARN_STRICT_CONVERSION =
|
|
|
|
# vi: set ft=make :
|