portduino-buildroot: Define c standard (#5547)

This commit is contained in:
Austin 2024-12-10 11:09:54 -05:00 committed by GitHub
parent cf46e675ca
commit 761a99d241
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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