Skip to content

Commit

Permalink
Portduino: specify C++ version and add link pthread (#5642)
Browse files Browse the repository at this point in the history
  • Loading branch information
GUVWAF authored Dec 21, 2024
1 parent 1c8b165 commit f4cff33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion arch/portduino/portduino.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ build_flags =
-Isrc/platform/portduino
-DRADIOLIB_EEPROM_UNSUPPORTED
-DPORTDUINO_LINUX_HARDWARE
-lpthread
-lstdc++fs
-lbluetooth
-lgpiod
-lyaml-cpp
-lyaml-cpp
-std=c++17
3 changes: 1 addition & 2 deletions variants/portduino-buildroot/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ extends = portduino_base
; Optional libraries should be appended to `PLATFORMIO_BUILD_FLAGS`
; environment variable in the buildroot environment.
build_flags = ${portduino_base.build_flags} -O0 -I variants/portduino-buildroot
-std=c++17
board = buildroot
lib_deps = ${portduino_base.lib_deps}
build_src_filter = ${portduino_base.build_src_filter}
build_src_filter = ${portduino_base.build_src_filter}

0 comments on commit f4cff33

Please sign in to comment.