Fix up OBJTYPE on 64-bit x86 FreeBSD machines.

This commit is contained in:
wkj 2005-02-22 16:58:04 +00:00
parent 0f172593a3
commit 10ff532fdc
3 changed files with 3 additions and 2 deletions

View file

@ -5,7 +5,7 @@ OBJTYPE:=${shell uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g'}
# this works in bsd make
SYSNAME!=uname
OBJTYPE!=uname -m | sed 's;i.86;386;; s;/.*;;; s; ;;g'
OBJTYPE!=uname -m | sed 's;i.86;386;; s;amd64;x864_64;; s;/.*;;; s; ;;g'
# the gnu rules will mess up bsd but not vice versa,
# hence the gnu rules come first.