mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01: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:
committed by
Christian Helmuth
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user