Skip to content

Commit

Permalink
Fix build on i386
Browse files Browse the repository at this point in the history
reported by and ok naddy@
  • Loading branch information
mpieuchot committed Oct 12, 2011
1 parent e8d8d26 commit b993a15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plan9/drawterm/patches/patch-Make_unix
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
$OpenBSD: patch-Make_unix,v 1.3 2011/10/08 15:02:51 mpi Exp $ $OpenBSD: patch-Make_unix,v 1.4 2011/10/12 20:13:33 mpi Exp $
--- Make.unix.orig Wed Aug 26 07:44:41 2009 --- Make.unix.orig Wed Aug 26 07:44:41 2009
+++ Make.unix Sat Oct 8 12:49:18 2011 +++ Make.unix Sat Oct 8 12:49:18 2011
@@ -5,8 +5,8 @@ @@ -5,8 +5,8 @@
Expand All @@ -17,5 +17,5 @@ $OpenBSD: patch-Make_unix,v 1.3 2011/10/08 15:02:51 mpi Exp $


libmachdep.a: libmachdep.a:
- arch=`uname -m|sed 's/i.86/386/;s/Power Macintosh/power/; s/x86_64/amd64/'`; \ - arch=`uname -m|sed 's/i.86/386/;s/Power Macintosh/power/; s/x86_64/amd64/'`; \
+ arch=`arch -s|sed 's/powerpc/power/; s/sparc64/sun4u/; s/mips64el/mips/; s/mips64/mips/'`; \ + arch=`arch -s|sed 's/i386/386/; s/powerpc/power/; s/sparc64/sun4u/; s/mips64el/mips/; s/mips64/mips/'`; \
(cd posix-$$arch && make) (cd posix-$$arch && make)

0 comments on commit b993a15

Please sign in to comment.