From 5a03f08f91c8439b70053cea39e268fb3fc079fb Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Wed, 10 Aug 2016 16:06:12 +0200 Subject: [PATCH] cpu: cortexm_common: compile thread_arch.c without LTO --- cpu/cortexm_common/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpu/cortexm_common/Makefile b/cpu/cortexm_common/Makefile index 48422e909a..6b348c14e3 100644 --- a/cpu/cortexm_common/Makefile +++ b/cpu/cortexm_common/Makefile @@ -1 +1,5 @@ +# thread_arch.c's inline assembler breaks when compiling with link time +# optimization. see #5774. +SRC_NOLTO += thread_arch.c + include $(RIOTBASE)/Makefile.base