diff --git a/makefile b/makefile index ec87d53..b1755fc 100644 --- a/makefile +++ b/makefile @@ -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 $@"; diff --git a/src/test/test_bugreports.c b/src/test/test_bugreports.c index 5c10a20..91ff9ad 100644 --- a/src/test/test_bugreports.c +++ b/src/test/test_bugreports.c @@ -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