From 74c5b6ab5b5573daa7f18f98fa81260169450830 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 2 Mar 2011 12:03:46 +0000 Subject: [PATCH] valgrind: fix libgcc linking SVN-Revision: 25824 --- utils/valgrind/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/valgrind/Makefile b/utils/valgrind/Makefile index a07f4653c5..695e93557d 100644 --- a/utils/valgrind/Makefile +++ b/utils/valgrind/Makefile @@ -57,7 +57,7 @@ define Build/Compile AM_CFLAGS_AMD64_LINUX="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)/coregrind" \ AM_CFLAGS_PPC32_LINUX="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)/coregrind" \ AM_CFLAGS_PPC64_LINUX="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)/coregrind" \ - TOOL_LDADD_COMMON="-lgcc $(PKG_BUILD_DIR)/abort.a" \ + TOOL_LDADD_COMMON="$(LIBGCC_S) $(PKG_BUILD_DIR)/abort.a" \ all install endef -- 2.30.2