mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
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:
parent
64fb2865b0
commit
e317eca9a5
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user