parent
14fc773ac9
commit
ca4b1a0b3f
@ -1,23 +0,0 @@
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
{ stdenvNoCC, depot }:
|
||||
|
||||
let stdenv = stdenvNoCC;
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
pname = "libc";
|
||||
version = "12.0.0";
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
dontUnpack = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
cp -r ${depot.libc} $out
|
||||
mkdir -p $dev/lib/pkgconfig
|
||||
substituteAll ${./libc.pc} libc.pc
|
||||
substituteAll ${./libm.pc} libm.pc
|
||||
install -Dt $dev/lib/pkgconfig *.pc
|
||||
'';
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
libdir=@out@/lib
|
||||
|
||||
Name: genode-libc
|
||||
Description: Genode C runtime library
|
||||
URL: https://genode.org/
|
||||
Version: @version@
|
||||
Requires: vfs
|
||||
Cflags: -D__FreeBSD__=8 -D__ISO_C_VISIBLE=1999 -fno-builtin-sin -fno-builtin-cos -fno-builtin-sinf -fno-builtin-cosf
|
||||
Libs: -L${libdir} -l:libc.lib.so
|
@ -1,8 +0,0 @@
|
||||
libdir=@out@/lib
|
||||
|
||||
Name: genode-libm
|
||||
Description: Genode math library
|
||||
URL: https://genode.org/
|
||||
Version: @version@
|
||||
Requires: libc
|
||||
Libs: -L${libdir} -l:libm.lib.so
|
Loading…
Reference in New Issue