Merge pull request #830 from Allenscript/fix_raspbian_compile_atomic_not_found_error

fix compile for raspbian on RaspberryPI 4B atomic not found error
This commit is contained in:
plum-lihui 2019-12-04 16:06:39 +08:00 committed by GitHub
commit 54b0d8f5dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,5 +6,5 @@ IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM))
INCLUDE_DIRECTORIES(inc)
AUX_SOURCE_DIRECTORY(src SRC)
ADD_LIBRARY(os ${SRC})
TARGET_LINK_LIBRARIES(os m rt)
TARGET_LINK_LIBRARIES(os m rt atomic)
ENDIF ()