[android] only set -std=c99 for mbedtls (#8310)

This commit is contained in:
Yakun Xu
2022-10-21 13:02:18 -07:00
committed by GitHub
parent 488ee63b4c
commit ff259b845b
2 changed files with 42 additions and 17 deletions
+1 -2
View File
@@ -55,8 +55,7 @@ check_datetime()
EOF
OPENTHREAD_PROJECT_CFLAGS="-I$PWD -DOPENTHREAD_CONFIG_FILE=\\\"openthread-config-datetime.h\\\" \
-DOPENTHREAD_PROJECT_CORE_CONFIG_FILE=\\\"openthread-core-posix-config.h\\\" \
-std=c99" \
-DOPENTHREAD_PROJECT_CORE_CONFIG_FILE=\\\"openthread-core-posix-config.h\\\"" \
make showcommands ot-cli
grep "$datetime" -ao "out/target/product/generic/system/bin/ot-cli"
make clean-ot-cli