freebsd.libsysdecode: fix build for FreeBSD 15.0-RELEASE (#469139)
This commit is contained in:
@@ -6,8 +6,12 @@ mkDerivation {
|
||||
"libexec/rtld-elf"
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-Wno-unterminated-string-initialization"
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
sed -E -i -e "s|..INCLUDEDIR.|${stdenv.cc.libc}/include|g" $BSDSRCDIR/lib/libsysdecode/Makefile
|
||||
sed -E -i -e "s|\\$\\{INCLUDEDIR\\}|${stdenv.cc.libc}/include|g" $BSDSRCDIR/lib/libsysdecode/Makefile
|
||||
'';
|
||||
|
||||
MK_TESTS = "no";
|
||||
|
||||
Reference in New Issue
Block a user