Skip to contentSkip to conversation

libiscsi: Force configure to use gcc for LD

PATCH New Maxime Hadjinlian 2 participants 2 messages Jul 28, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libiscsi: Force configure to use gcc for LD

Fixes
http://autobuild.buildroot.org/results/0a9/0a96f3654983ed2efc851522352dec43c1df0077/

---
 package/libiscsi/libiscsi.mk | 2 ++
 1 file changed, 2 insertions(+)
package/libiscsi/libiscsi.mk +2 -0
index 7877cd9..4d27371 100644
@@ -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
#1 lore raw

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/

---
 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