mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
librcf: link to libatomic
In commit 1d594f18f66700f0b2c03b7acf1104a825b155b4: [ librcf: Add -latomic to LDFLAGS ] I added '-latomic' to LDFLAGS, which worked for clang 3.9 but it does not work for clang 5.0, seems the linking order matters for clang 5.0, it should be after -lrcf. Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
ffc78c155c
commit
a966c86b5c
|
|
@ -53,7 +53,7 @@ index 0000000..f6e24be
|
|||
+####################################################################
|
||||
+INCLUDE (${CMAKE_SOURCE_DIR}/VERSION.cmake)
|
||||
+
|
||||
+SET (LIBRCF_LIBRARIES "-lpthread -ldl")
|
||||
+SET (LIBRCF_LIBRARIES "-lpthread -ldl -latomic")
|
||||
+INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR}/include)
|
||||
+
|
||||
+IF (LIBRCF_USE_OPENSSL)
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@ SRC_URI[sha256sum] = "bbfcc88de502c39604878c395f516b03fff4eac63eb4f7f44c07d43383
|
|||
|
||||
S = "${WORKDIR}/RCF-${PV}"
|
||||
|
||||
LDFLAGS += "-Wl,--as-needed -latomic -Wl,--no-as-needed"
|
||||
|
||||
inherit cmake dos2unix
|
||||
|
||||
PACKAGECONFIG ?= "zlib openssl sf-serialization boost-filesystem boost-asio protobuf json dll static shared demos"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user