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"