You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/12/01 12:54:46 UTC
[incubator-nuttx] 01/02: tools/rp2040: Compile with C++14
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 422b59698704202e94f6a3788496399798e92cb8
Author: Aaron Rumpler <80...@users.noreply.github.com>
AuthorDate: Wed Dec 1 19:35:05 2021 +1300
tools/rp2040: Compile with C++14
---
tools/rp2040/Makefile.host | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/rp2040/Makefile.host b/tools/rp2040/Makefile.host
index 259102c..32717c1 100644
--- a/tools/rp2040/Makefile.host
+++ b/tools/rp2040/Makefile.host
@@ -24,7 +24,7 @@ default: elf2uf2
# Add CFLAGS=-g on the make command line to build debug versions
-CFLAGS = -O2
+CFLAGS = -O2 -std=c++14
CFLAGS += -I$(PICO_SDK_PATH)/src/common/boot_uf2/include
elf2uf2: $(PICO_SDK_PATH)/tools/elf2uf2/main.cpp