nix: musl fix.
This commit is contained in:
parent
ecedbb751e
commit
b5d38ae2b3
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ distfiles="http://nixos.org/releases/nix/nix-${version}/nix-${version}.tar.xz"
|
|||
checksum=937779ed2efaa3dec210250635401980acb99a6fea6d7374fbaea78231b36d34
|
||||
|
||||
pre_configure() {
|
||||
sed -i 's/ucontext/struct ucontext_t/g' src/libmain/stack.cc
|
||||
sed -i 's/ucontext/ucontext_t/g' src/libmain/stack.cc
|
||||
sed -i '/^CFLAGS=/d;/^CXXFLAGS=/d' configure
|
||||
echo "GLOBAL_LDFLAGS += $LDFLAGS" >>mk/lib.mk
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue