From 422b59698704202e94f6a3788496399798e92cb8 Mon Sep 17 00:00:00 2001 From: Aaron Rumpler <80610725+Aaron-Rumpler@users.noreply.github.com> Date: Wed, 1 Dec 2021 19:35:05 +1300 Subject: [PATCH] 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 259102cb22c..32717c11f7d 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