2
===================================================================
3
--- Makefile (revision 2)
4
+++ Makefile (revision 7)
9
-libdir := ${prefix}$(shell if [ -d /usr/lib64 ] ; then echo "/lib64" ; else echo "/lib" ; fi)
11
+#--- TODO: fix the assignment of libdir so it only recognizes the 64-bit
12
+# arches it needs to. The original line was:
14
+#libdir := ${prefix}$(shell if [ -d /usr/lib64 ] ; then echo "/lib64" ; else echo "/lib" ; fi)
16
+# However, if one has g77 installed, you end up with a /usr/lib64 even when
17
+# not on a 64-bit machine (see libg2c0-dev, and bug#323285: /usr/lib64 should
18
+# be in a separate package).
20
+# The line below will work in most cases, except on multi-arch machines
22
+libdir := ${prefix}/lib
24
docdir := ${prefix}/share/doc
26
all: numactl libnuma.so numademo numamon memhog stream test/tshared \