Skip to content

Commit

Permalink
build_all_configs.sh: Use CPPFLAGS instead of CFLAGS (#41)
Browse files Browse the repository at this point in the history
`SPIFFS_OBJ_META_LEN` was not properly set for all languages (only for c).
See output of `mkspiffs --version`.
  • Loading branch information
kroegerama authored and igrr committed Mar 8, 2018
1 parent 1693a95 commit 112d653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_all_configs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"



0 comments on commit 112d653

Please sign in to comment.