~aleteoryx/muditaos

31b661a20e8623648348e378e7a052ca80e15745 — Lucjan Bryndza 3 years ago 455d69e
[MOS-316] Fix compile lfs fuse with GCC11 host

Fix compilation for the LFS fuse tools with GCC11

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
1 files changed, 1 insertions(+), 1 deletions(-)

M host-tools/littlefs-fuse/CMakeLists.txt
M host-tools/littlefs-fuse/CMakeLists.txt => host-tools/littlefs-fuse/CMakeLists.txt +1 -1
@@ 9,7 9,7 @@ file(GLOB_RECURSE LFSFUSE_SRCS *.c)
add_executable(${PROJECT_NAME} ${LFSFUSE_SRCS})


target_compile_options(${PROJECT_NAME} PRIVATE -Wall -pedantic -Wno-missing-field-initializers)
target_compile_options(${PROJECT_NAME} PRIVATE -Wall -pedantic -Wno-missing-field-initializers -Wno-array-bounds -Wno-maybe-uninitialized)
target_compile_definitions( ${PROJECT_NAME}
        PRIVATE
        _FILE_OFFSET_BITS=64