tags +patch
thanks

The "MIPS64" name appears to be a historic accident. The source code
suggests libpfm3 works as well with 32-bit kernels (which print "mips"
for uname -m, regardless of endianness), and it supports 32-bit only
CPUs like the 34k.


Thiemo


diff -urpN libpfm3-3.2.060926.orig/config.mk libpfm3-3.2.060926/config.mk
--- libpfm3-3.2.060926.orig/config.mk   2006-11-12 21:39:54.000000000 +0000
+++ libpfm3-3.2.060926/config.mk        2006-11-12 21:26:34.000000000 +0000
@@ -41,6 +41,10 @@ endif
 ifeq (i386,$(findstring i386,$(ARCH)))
 override ARCH=ia32
 endif
+
+ifeq (mips,$(findstring mips,$(ARCH)))
+override ARCH=mips64
+endif
 #
 # Where should things (lib, headers, man) go in the end.
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to