This is an automated email from the ASF dual-hosted git repository.
utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new 572b656 Fix cortex-m0 compilation on gcc 8.1
572b656 is described below
commit 572b656a30454747a841a72603b3933ab57410b2
Author: Fabio Utzig <[email protected]>
AuthorDate: Wed Jul 18 10:13:19 2018 -0300
Fix cortex-m0 compilation on gcc 8.1
This must be added due to what seems to be a gcc regression:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85606
---
compiler/arm-none-eabi-m0/compiler.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/arm-none-eabi-m0/compiler.yml
b/compiler/arm-none-eabi-m0/compiler.yml
index 0a7db4b..304f74c 100644
--- a/compiler/arm-none-eabi-m0/compiler.yml
+++ b/compiler/arm-none-eabi-m0/compiler.yml
@@ -25,7 +25,7 @@ compiler.path.objdump: arm-none-eabi-objdump
compiler.path.objsize: arm-none-eabi-size
compiler.path.objcopy: arm-none-eabi-objcopy
-compiler.flags.default: -mcpu=cortex-m0 -mthumb-interwork -mthumb -Wall
-Werror -fno-exceptions -fomit-frame-pointer -ffunction-sections
-fdata-sections -DCMSIS_VECTAB_VIRTUAL
-DCMSIS_VECTAB_VIRTUAL_HEADER_FILE="mynewt_cm0_vectab.h"
+compiler.flags.default: -march=armv6s-m -mcpu=cortex-m0 -mthumb-interwork
-mthumb -Wall -Werror -fno-exceptions -fomit-frame-pointer -ffunction-sections
-fdata-sections -DCMSIS_VECTAB_VIRTUAL
-DCMSIS_VECTAB_VIRTUAL_HEADER_FILE="mynewt_cm0_vectab.h"
compiler.flags.optimized: [compiler.flags.default, -Os -ggdb]
compiler.flags.debug: [compiler.flags.default, -Og -ggdb]