fuse_ext2: build with '-std=gnu89'

GCC 6 defaults to '-std=gnu11' for the C language, which has different
semantics for inline functions and triggers build errors.

Fixes #2385
This commit is contained in:
Christian Prochaska 2017-03-10 09:48:03 +01:00 committed by Christian Helmuth
parent 64fb2865b0
commit e317eca9a5
2 changed files with 4 additions and 0 deletions

View File

@ -19,6 +19,8 @@ CC_OPT += -Wno-unused-function -Wno-unused-variable \
-Wno-unused-but-set-variable -Wno-cpp \
-Wno-maybe-uninitialized -Wno-uninitialized
CC_C_OPT += -std=gnu89
LIBS += libc
vpath %.c $(EXT2FS_DIR)

View File

@ -17,6 +17,8 @@ CC_OPT += -Wno-unused-function -Wno-unused-variable \
-Wno-unused-but-set-variable -Wno-cpp \
-Wno-maybe-uninitialized
CC_C_OPT += -std=gnu89
CC_C_OPT += -Wno-implicit-function-declaration