fix valgrind compile

git-svn-id: svn://svn.openwrt.org/openwrt/packages@12171 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-08-05 22:00:32 +00:00
parent dc5eae8bbf
commit 92b99b9b18
2 changed files with 11 additions and 0 deletions

View File

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

View 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 --- !!! --- */