Commit 7a7ec2dd authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

tstools: perform shared library linking step using gcc rather than ld

Fixes http://autobuild.buildroot.net/results/c45/c45bbdaff6cff56b5646add38032f29bb5520f16



Using ld directly breaks with certain toolchain configurations.

Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 3a740799
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -10,7 +10,8 @@ TSTOOLS_SOURCE = tstools-$(TSTOOLS_VERSION).tgz
TSTOOLS_LICENSE = MPL v1.1

define TSTOOLS_BUILD_CMDS
	$(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
	$(TARGET_CONFIGURE_OPTS) LD="$(TARGET_CC)" $(TARGET_MAKE_ENV) \
		$(MAKE) -C $(@D)
endef

define TSTOOLS_INSTALL_TARGET_CMDS