mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 09:15:43 +01:00
Merge remote-tracking branch 'restricted/pr/607' into baremetal-proposed
* restricted/pr/607: baremetal: Use Oz when building with armclang
This commit is contained in:
commit
7ee1d4838f
@ -155,7 +155,7 @@ baremetal_build_armc6()
|
||||
echo "Create 32-bit library-only baremetal build (ARMC6, Config: $BAREMETAL_CONFIG)"
|
||||
armc6_ver=$($ARMC6_CC --version | sed -n 's/.*ARM Compiler \([^ ]*\)$/\1/p')
|
||||
|
||||
CFLAGS_BAREMETAL="-Os --target=arm-arm-none-eabi -mthumb -mcpu=cortex-m0plus -xc --std=c99"
|
||||
CFLAGS_BAREMETAL="-Oz --target=arm-arm-none-eabi -mthumb -mcpu=cortex-m0plus -xc --std=c99"
|
||||
if [ $check -ne 0 ]; then
|
||||
CFLAGS_BAREMETAL="$CFLAGS_BAREMETAL -Werror"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user