summaryrefslogtreecommitdiffstats
path: root/package/lsof/lsof-makefile.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 12:59:56 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 12:59:56 +0000
commitaca398bb7fa956dc44e1442969c4a2a425780997 (patch)
tree56df479912077facf17cdc483d2cb02c34a7d122 /package/lsof/lsof-makefile.patch
parentd41f2f350e220447e3c3dfe5a66e2b6bfe0a9c23 (diff)
downloadbuildroot-novena-aca398bb7fa956dc44e1442969c4a2a425780997.tar.gz
buildroot-novena-aca398bb7fa956dc44e1442969c4a2a425780997.zip
- compile against the cross toolchain, not the host
Diffstat (limited to 'package/lsof/lsof-makefile.patch')
-rw-r--r--package/lsof/lsof-makefile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/lsof/lsof-makefile.patch b/package/lsof/lsof-makefile.patch
new file mode 100644
index 000000000..df961759d
--- /dev/null
+++ b/package/lsof/lsof-makefile.patch
@@ -0,0 +1,14 @@
+diff -ru lsof_4.77.orig/lsof_4.77_src/lib/Makefile.skel lsof_4.77/lsof_4.77_src/lib/Makefile.skel
+--- lsof_4.77.orig/lsof_4.77_src/lib/Makefile.skel 2001-02-13 03:12:22.000000000 +0100
++++ lsof_4.77/lsof_4.77_src/lib/Makefile.skel 2006-11-29 13:51:44.000000000 +0100
+@@ -21,8 +21,8 @@
+ all: ${LIB}
+
+ ${LIB}: ${OBJ}
+- ${AR}
+- ${RANLIB}
++ ${AR} cr ${LIB} ${OBJ}
++ ${RANLIB} ${LIB}
+
+ clean: FRC
+ rm -f ${LIB} ${OBJ} errs Makefile.bak a.out core