Make it compile properly

This commit is contained in:
philip
2016-08-24 08:39:31 -04:00
parent bae70314d3
commit b78049f5b5
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -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 $@";
+1 -1
View File
@@ -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