libtraceevent: Make sure 32 bit work on 64 bit file systems

As stat() can overflow if a 32 bit user space reads a file on a file
system that has inodes greater than MAX_INT. Compile with
_FILE_OFFSET_BITS=64 that mitigates this problem on 32 bit user space.

Link: https://lore.kernel.org/linux-trace-devel/20221221134656.79589e83@gandalf.local.home

Reported-by: Mike Frysinger <vapier@google.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 file changed