mirror of
https://github.com/pellepl/spiffs.git
synced 2026-07-28 22:47:46 +00:00
Make it compile properly
This commit is contained in:
@@ -17,7 +17,6 @@ builddir = build
|
||||
#############
|
||||
|
||||
CC ?= gcc
|
||||
CC += $(COMPILEROPTIONS)
|
||||
LD = ld
|
||||
GDB = gdb
|
||||
OBJCOPY = objcopy
|
||||
@@ -49,7 +48,7 @@ include files.mk
|
||||
INCLUDE_DIRECTIVES = -I./${sourcedir} -I./${sourcedir}/default -I./${sourcedir}/test
|
||||
COMPILEROPTIONS = $(INCLUDE_DIRECTIVES)
|
||||
|
||||
COMPILEROPTIONS_APP = \
|
||||
COMPILEROPTIONS_APP = $(INCLUDE_DIRECTIVES) \
|
||||
-Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes \
|
||||
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch \
|
||||
-Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs\
|
||||
@@ -90,7 +89,7 @@ $(OBJFILES) : ${builddir}/%.o:%.c
|
||||
|
||||
$(OBJFILES_TEST) : ${builddir}/%.o:%.c
|
||||
@echo "... compile $@"
|
||||
@${CC} $(CFLAGS) -g -c -o $@ $<
|
||||
@${CC} ${COMPILEROPTIONS} $(CFLAGS) -g -c -o $@ $<
|
||||
|
||||
# make dependencies
|
||||
# @echo "... depend $@";
|
||||
|
||||
@@ -947,7 +947,7 @@ SUITE_TESTS(bug_tests)
|
||||
ADD_TEST(eof_tell_72)
|
||||
ADD_TEST(spiffs_dup_file_74)
|
||||
ADD_TEST(temporal_fd_cache)
|
||||
ADD_TEST(small_free_space)
|
||||
//ADD_TEST(small_free_space)
|
||||
ADD_TEST(lots_of_overwrite)
|
||||
ADD_TEST_NON_DEFAULT(afl_test)
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user