mirror of
https://github.com/laoxong/nofx.git
synced 2026-06-04 09:58:22 +08:00
806fad6136
Add CGO_CFLAGS="-D_LARGEFILE64_SOURCE" to resolve musl libc compatibility issues. This enables the Large File Support feature macros which map pread64/pwrite64/off64_t symbols (used by SQLite) to musl's native pread/pwrite/off_t implementations. This fix eliminates the "undeclared identifier" errors during CGO compilation without requiring additional sqlite-dev dependencies. Co-Authored-By: tinkle-community <tinklefund@gmail.com>