Message ID | 20221221134656.79589e83@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | 169a55a0e8e8aacf4f9998ae00d749e447ac3f51 |
Headers | show |
Series | [v3] libtraceevent: Make sure 32 bit works on 64 bit file systems | expand |
diff --git a/Makefile b/Makefile index 965ff47eae7d..746aedb528de 100644 --- a/Makefile +++ b/Makefile @@ -164,6 +164,9 @@ override CFLAGS += -fPIC override CFLAGS += $(CONFIG_FLAGS) $(INCLUDES) $(PLUGIN_DIR_SQ) override CFLAGS += $(udis86-flags) -D_GNU_SOURCE +# Make sure 32 bit stat() works on large file systems +override CFLAGS += -D_FILE_OFFSET_BITS=64 + ifeq ($(VERBOSE),1) Q = else