curlftpfs-sane: fix cross compilation to 32bit platforms (i.e. armv7l-hf-multiplatform)
This commit is contained in:
@@ -38,4 +38,9 @@
|
||||
ln -s curlftpfs $out/bin/mount.fuse.curlftpfs
|
||||
ln -s curlftpfs $out/bin/mount.curlftpfs
|
||||
'';
|
||||
|
||||
env = (upstream.env or {}) // {
|
||||
# fuse3 requires _off_t to be 8 bytes, and advises to add this flag for 32bit platforms.
|
||||
NIX_CFLAGS_COMPILE = ((upstream.env or {}).NIX_CFLAGS_COMPILE or "") + " -D_FILE_OFFSET_BITS=64";
|
||||
};
|
||||
})
|
||||
|
Reference in New Issue
Block a user