Update valgrind, make it compile
-Erik
This commit is contained in:
parent
d30b9abaeb
commit
3aff447b61
|
@ -5,8 +5,8 @@
|
||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
VALGRIND_SITE:=http://developer.kde.org/~sewardj
|
VALGRIND_SITE:=http://developer.kde.org/~sewardj
|
||||||
VALGRIND_DIR:=$(BUILD_DIR)/valgrind-20020601
|
VALGRIND_DIR:=$(BUILD_DIR)/valgrind-1.0pre6
|
||||||
VALGRIND_SOURCE:=valgrind-20020601.tar.bz2
|
VALGRIND_SOURCE:=valgrind-1.0pre6.tar.bz2
|
||||||
|
|
||||||
$(DL_DIR)/$(VALGRIND_SOURCE):
|
$(DL_DIR)/$(VALGRIND_SOURCE):
|
||||||
wget -P $(DL_DIR) --passive-ftp $(VALGRIND_SITE)/$(VALGRIND_SOURCE)
|
wget -P $(DL_DIR) --passive-ftp $(VALGRIND_SITE)/$(VALGRIND_SOURCE)
|
||||||
|
@ -32,6 +32,7 @@ $(VALGRIND_DIR)/valgrind: $(VALGRIND_DIR)/.configured
|
||||||
|
|
||||||
$(TARGET_DIR)/usr/bin/valgrind: $(VALGRIND_DIR)/valgrind
|
$(TARGET_DIR)/usr/bin/valgrind: $(VALGRIND_DIR)/valgrind
|
||||||
make CC=$(TARGET_CC1) DESTDIR=$(TARGET_DIR) -C $(VALGRIND_DIR) install
|
make CC=$(TARGET_CC1) DESTDIR=$(TARGET_DIR) -C $(VALGRIND_DIR) install
|
||||||
|
rm -rf $(TARGET_DIR)/usr/share/doc/valgrind
|
||||||
|
|
||||||
valgrind: $(TARGET_DIR)/usr/bin/valgrind
|
valgrind: $(TARGET_DIR)/usr/bin/valgrind
|
||||||
|
|
||||||
|
|
18
sources/valgrind.patch
Normal file
18
sources/valgrind.patch
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
--- build/valgrind-1.0pre6.orig/vg_libpthread.c Sat Jul 13 06:59:27 2002
|
||||||
|
+++ build/valgrind-1.0pre6/vg_libpthread.c Sat Jul 27 02:50:53 2002
|
||||||
|
@@ -2821,6 +2821,7 @@
|
||||||
|
|
||||||
|
/* I've no idea what these are, but they get called quite a lot.
|
||||||
|
Anybody know? */
|
||||||
|
+#ifndef __UCLIBC__
|
||||||
|
|
||||||
|
#undef _IO_flockfile
|
||||||
|
void _IO_flockfile ( _IO_FILE * file )
|
||||||
|
@@ -2837,6 +2838,7 @@
|
||||||
|
}
|
||||||
|
weak_alias(_IO_funlockfile, funlockfile);
|
||||||
|
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
/* This doesn't seem to be needed to simulate libpthread.so's external
|
||||||
|
interface, but many people complain about its absence. */
|
Loading…
Reference in a new issue