ThirdParty: FatFs: Enable PIC
Fixes linking with GCC by adding -fPICadd-device-sharing
parent
b50706846c
commit
1a28fbf5ad
|
|
@ -277,6 +277,7 @@ endif()
|
|||
|
||||
# fatfs
|
||||
add_subdirectory(third-party/fatfs)
|
||||
set_property(TARGET fatfs PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
target_link_libraries(icsneocpp PRIVATE fatfs)
|
||||
|
||||
# libftdi
|
||||
|
|
|
|||
Loading…
Reference in New Issue