diff options
author | Russ Cox <rsc@golang.org> | 2009-09-22 07:48:43 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-09-22 07:48:43 -0700 |
commit | da94a8abe747ddd25dbd551fbabd04f1ab889cfd (patch) | |
tree | 640231ea6fa8cb7e322aab33f69f9edf9b5dfb7f /src/libmach | |
parent | 0137c7fd21e7938fcebf38b4738c04fa7a1a3c4b (diff) | |
download | go-da94a8abe747ddd25dbd551fbabd04f1ab889cfd.tar.gz |
use $(shell uname) instead of $GOOS when
deciding what the host process support is.
this makes a cross-compiling (e.g., GOOS=nacl) build
still generate valid host debugger binaries.
R=r
DELTA=5 (0 added, 0 deleted, 5 changed)
OCL=34878
CL=34889
Diffstat (limited to 'src/libmach')
-rw-r--r-- | src/libmach/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmach/Makefile b/src/libmach/Makefile index 4a5e3405f..b0031486a 100644 --- a/src/libmach/Makefile +++ b/src/libmach/Makefile @@ -45,7 +45,7 @@ OFILES=\ 5obj.$O\ 6obj.$O\ 8obj.$O\ - $(GOOS).$O\ + $(shell uname | tr A-Z a-z).$O\ HFILES=$(GOROOT)/include/mach.h elf.h macho.h obj.h |