SPIFFS: Fixed linux build and travis build

mkspiffs utility explicitly use gcc to compile
This commit is contained in:
sheinz 2016-07-15 19:01:17 +03:00
parent 55b7d29767
commit 0a98f43902
2 changed files with 5 additions and 1 deletions

View file

@ -11,6 +11,10 @@ $(error $(ERROR_MSG))
endif
endif
# explicitly use gcc as in xtensa build environment it might be set to
# cross compiler
CC = gcc
SOURCES := spiffs_hydrogen.c
SOURCES += spiffs_cache.c
SOURCES += spiffs_gc.c

View file

@ -26,7 +26,7 @@
#include <stdio.h>
#include <sys/types.h>
#include <sys/dir.h>
#include <sys/dirent.h>
#include <dirent.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>