portduino-buildroot: Define c standard (#5547)

This commit is contained in:
Austin 2024-12-10 11:09:54 -05:00 committed by Tom Fifield
parent b618befa6c
commit 2e3289dca8

View File

@ -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