Skip to content

Commit f4cff33

Browse files
authored
Portduino: specify C++ version and add link pthread (#5642)
1 parent 1c8b165 commit f4cff33

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

arch/portduino/portduino.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ build_flags =
3434
-Isrc/platform/portduino
3535
-DRADIOLIB_EEPROM_UNSUPPORTED
3636
-DPORTDUINO_LINUX_HARDWARE
37+
-lpthread
3738
-lstdc++fs
3839
-lbluetooth
3940
-lgpiod
40-
-lyaml-cpp
41+
-lyaml-cpp
42+
-std=c++17

variants/portduino-buildroot/platformio.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ extends = portduino_base
33
; Optional libraries should be appended to `PLATFORMIO_BUILD_FLAGS`
44
; environment variable in the buildroot environment.
55
build_flags = ${portduino_base.build_flags} -O0 -I variants/portduino-buildroot
6-
-std=c++17
76
board = buildroot
87
lib_deps = ${portduino_base.lib_deps}
9-
build_src_filter = ${portduino_base.build_src_filter}
8+
build_src_filter = ${portduino_base.build_src_filter}

0 commit comments

Comments
 (0)