pkg/littlefs2: fix compilation with NDEBUG
This commit is contained in:
parent
b6a2696e81
commit
11d999b014
@ -4,3 +4,6 @@ DIRS += $(RIOTBASE)/pkg/littlefs2/fs
|
|||||||
|
|
||||||
# Reduce LFS_NAME_MAX to 31 (as VFS_NAME_MAX default)
|
# Reduce LFS_NAME_MAX to 31 (as VFS_NAME_MAX default)
|
||||||
CFLAGS += -DLFS_NAME_MAX=31
|
CFLAGS += -DLFS_NAME_MAX=31
|
||||||
|
|
||||||
|
# avoid compilation errors when NDEBUG is defined
|
||||||
|
CFLAGS += -DLFS_NO_ASSERT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user