Skip to content

Commit

Permalink
barebox: add TARGET_LDFLAGS to TARGETCFLAGS
Browse files Browse the repository at this point in the history
This fixes QA issue [ldflags] caused by missing GNU_HASH in generated
binary.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
  • Loading branch information
ejoerns committed Feb 20, 2017
1 parent 75b3d59 commit 8cf48a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes-bsp/barebox/barebox.inc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ do_compile () {
export PKG_CONFIG_LIBDIR="${STAGING_DIR_NATIVE}${libdir}/pkgconfig:${STAGING_DIR_NATIVE}/usr/share/pkgconfig"
export PKG_CONFIG_SYSROOT_DIR=

export TARGETCFLAGS="${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
export TARGETCFLAGS="${TARGET_LDFLAGS}${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
unset LDFLAGS
unset CFLAGS
unset CPPFLAGS
Expand Down

0 comments on commit 8cf48a0

Please sign in to comment.