From 112d65368043f01dd86813cb84e41b1159a34f6b Mon Sep 17 00:00:00 2001 From: kroegerama <1519044+kroegerama@users.noreply.github.com> Date: Thu, 8 Mar 2018 04:00:52 +0100 Subject: [PATCH] build_all_configs.sh: Use CPPFLAGS instead of CFLAGS (#41) `SPIFFS_OBJ_META_LEN` was not properly set for all languages (only for c). See output of `mkspiffs --version`. --- build_all_configs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_all_configs.sh b/build_all_configs.sh index 602eb5f..7a3500f 100755 --- a/build_all_configs.sh +++ b/build_all_configs.sh @@ -16,12 +16,12 @@ make dist BUILD_CONFIG_NAME="-arduino-esp8266" \ # Build configuration for arduino-esp32 make clean make dist BUILD_CONFIG_NAME="-arduino-esp32" \ - CFLAGS="-DSPIFFS_OBJ_META_LEN=4" + CPPFLAGS="-DSPIFFS_OBJ_META_LEN=4" # Build configuration for ESP-IDF (esp32) make clean make dist BUILD_CONFIG_NAME="-esp-idf" \ - CFLAGS="-DSPIFFS_OBJ_META_LEN=4" + CPPFLAGS="-DSPIFFS_OBJ_META_LEN=4"