From 761a99d2411093f8902d23e513c13ffc429b49e2 Mon Sep 17 00:00:00 2001 From: Austin Date: Tue, 10 Dec 2024 11:09:54 -0500 Subject: [PATCH] portduino-buildroot: Define c standard (#5547) --- variants/portduino-buildroot/platformio.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/variants/portduino-buildroot/platformio.ini b/variants/portduino-buildroot/platformio.ini index 8ef183ef34..3c8f215379 100644 --- a/variants/portduino-buildroot/platformio.ini +++ b/variants/portduino-buildroot/platformio.ini @@ -3,6 +3,7 @@ extends = portduino_base ; The pkg-config commands below optionally add link flags. ; the || : is just a "or run the null command" to avoid returning an error code build_flags = ${portduino_base.build_flags} -O0 -I variants/portduino-buildroot + -std=c++17 !pkg-config --libs libulfius --silence-errors || : !pkg-config --libs openssl --silence-errors || : board = buildroot