fix valgrind compile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12171 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
dc5eae8bbf
commit
92b99b9b18
@ -53,6 +53,7 @@ DEFAULT_SUPP += "uclibc.supp"
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
all install
|
||||
endef
|
||||
|
||||
|
10
utils/valgrind/patches/100-a_out_header.patch
Normal file
10
utils/valgrind/patches/100-a_out_header.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- valgrind-3.2.3.orig/coregrind/m_debuginfo/readstabs.c
|
||||
+++ valgrind-3.2.3/coregrind/m_debuginfo/readstabs.c
|
||||
@@ -43,6 +43,7 @@
|
||||
#include "priv_readstabs.h" /* self */
|
||||
|
||||
/* --- !!! --- EXTERNAL HEADERS start --- !!! --- */
|
||||
+#define CONFIG_ARCH_SUPPORTS_AOUT /* XXX */
|
||||
#include <a.out.h> /* stabs defns */
|
||||
/* --- !!! --- EXTERNAL HEADERS end --- !!! --- */
|
||||
|
Loading…
x
Reference in New Issue
Block a user