You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/04/19 15:39:55 UTC
[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6105: arch/clang: add support for Clang LTO
xiaoxiang781216 commented on code in PR #6105:
URL: https://github.com/apache/incubator-nuttx/pull/6105#discussion_r853221671
##########
arch/Kconfig:
##########
@@ -222,6 +222,57 @@ config ARCH_TOOLCHAIN_GNU
bool
default n
+config ARCH_TOOLCHAIN_CLANG
Review Comment:
let's add a new patch to support clang on armv6-m too.
##########
arch/arm/src/armv8-m/Toolchain.defs:
##########
@@ -65,6 +65,12 @@ else
MAXOPTIMIZATION ?= -Os
endif
+ifeq ($(CONFIG_LTO_CLANG_THIN),y)
Review Comment:
let's move to clang specific section
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org