diff options
| author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2017-08-30 17:16:29 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-09-07 10:59:21 +0200 |
| commit | a966c86b5c95640f37d2e0861ec971fa2768fa11 (patch) | |
| tree | 191f8da73d6127478d4a0db19f1f0e59544a297b /meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb | |
| parent | ffc78c155c36c657c4648ee303f108b164fef4b8 (diff) | |
| download | meta-openembedded-a966c86b5c95640f37d2e0861ec971fa2768fa11.tar.gz | |
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>
Diffstat (limited to 'meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb b/meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb index 46b75c5142..43eff72a3d 100644 --- a/meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb +++ b/meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb | |||
| @@ -23,8 +23,6 @@ SRC_URI[sha256sum] = "bbfcc88de502c39604878c395f516b03fff4eac63eb4f7f44c07d43383 | |||
| 23 | 23 | ||
| 24 | S = "${WORKDIR}/RCF-${PV}" | 24 | S = "${WORKDIR}/RCF-${PV}" |
| 25 | 25 | ||
| 26 | LDFLAGS += "-Wl,--as-needed -latomic -Wl,--no-as-needed" | ||
| 27 | |||
| 28 | inherit cmake dos2unix | 26 | inherit cmake dos2unix |
| 29 | 27 | ||
| 30 | PACKAGECONFIG ?= "zlib openssl sf-serialization boost-filesystem boost-asio protobuf json dll static shared demos" | 28 | PACKAGECONFIG ?= "zlib openssl sf-serialization boost-filesystem boost-asio protobuf json dll static shared demos" |
