libiscsi: Force configure to use gcc for LD
PATCH 1/1 libiscsi: Force configure to use gcc for LD
Fixes
http://autobuild.buildroot.org/results/0a9/0a96f3654983ed2efc851522352dec43c1df0077/
Signed-off-by Maxime Hadjinlian <[email protected]>
--- package/libiscsi/libiscsi.mk | 2 ++ 1 file changed, 2 insertions(+)
package/libiscsi/libiscsi.mk +2 -0
@@ -10,4 +10,6 @@ LIBISCSI_LICENSE = GPLv2+ LGPLv2.1+ LIBISCSI_LICENSE_FILES = COPYING LICENCE-GPL-2.txt LICENCE-LGPL-2.1.txt LIBISCSI_INSTALL_STAGING = YES +LIBISCSI_CONF_OPTS = LD="$(TARGET_CC)" + $(eval $(autotools-package))
Signature · 1 line
2.1.4
PATCH 1/1 libiscsi: Force configure to use gcc for LD
Dear Maxime Hadjinlian,
Quoted 7 lines · Maxime Hadjinlian
Fixes
http://autobuild.buildroot.org/results/0a9/0a96f3654983ed2efc851522352dec43c1df0077/Signed-off-by Maxime Hadjinlian <[email protected]>--- package/libiscsi/libiscsi.mk | 2 ++ 1 file changed, 2 insertions(+)
Applied with some changes:
[Thomas:
- pass the CC variable in <pkg>_CONF_ENV instead of <pkg>_CONF_OPTS
- add comment in the code explaining why we are doing this.]
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com