mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-04 03:21:04 +08:00
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. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: tinkle-community <tinklefund@gmail.com>