mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
gpsd: don't compile with gold
When linking with gold libgps and libgpsd error out with: | ./libgpsd.so: error: undefined reference to 'atan2' | ./libgpsd.so: error: undefined reference to 'pow' | ./libgpsd.so: error: undefined reference to 'sqrt' | ./libgpsd.so: error: undefined reference to 'sin' | ./libgpsd.so: error: undefined reference to 'cos' | collect2: error: ld returned 1 exit status Using the bfd linker fixes the issue. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
a313e407c8
commit
a50d969e89
|
|
@ -36,6 +36,8 @@ SYSTEMD_OESCONS = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'f
|
|||
export STAGING_INCDIR
|
||||
export STAGING_LIBDIR
|
||||
|
||||
LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
|
||||
PACKAGECONFIG[bluez] = "bluez='true',bluez='false',${BLUEZ}"
|
||||
PACKAGECONFIG[qt] = "qt='yes',qt='no',qt4-x11-free"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user