mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-08 04:28:47 +00:00
Explicitly link stdc++fs for std::filesystem
Bringing this over from buildroot-meshtastic
This commit is contained in:
parent
54195021dd
commit
2adb56c4f6
@ -32,6 +32,7 @@ build_flags =
|
|||||||
-Isrc/platform/portduino
|
-Isrc/platform/portduino
|
||||||
-DRADIOLIB_EEPROM_UNSUPPORTED
|
-DRADIOLIB_EEPROM_UNSUPPORTED
|
||||||
-DPORTDUINO_LINUX_HARDWARE
|
-DPORTDUINO_LINUX_HARDWARE
|
||||||
|
-lstdc++fs
|
||||||
-lbluetooth
|
-lbluetooth
|
||||||
-lgpiod
|
-lgpiod
|
||||||
-lyaml-cpp
|
-lyaml-cpp
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
extends = portduino_base
|
extends = portduino_base
|
||||||
; The pkg-config commands below optionally add link flags.
|
; The pkg-config commands below optionally add link flags.
|
||||||
; the || : is just a "or run the null command" to avoid returning an error code
|
; 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 -I /usr/include
|
build_flags = ${portduino_base.build_flags} -O0 -I variants/portduino
|
||||||
|
-I /usr/include
|
||||||
!pkg-config --libs libulfius --silence-errors || :
|
!pkg-config --libs libulfius --silence-errors || :
|
||||||
!pkg-config --libs openssl --silence-errors || :
|
!pkg-config --libs openssl --silence-errors || :
|
||||||
board = cross_platform
|
board = cross_platform
|
||||||
|
Loading…
Reference in New Issue
Block a user