Commit 26b6a97c authored by Joe Poirier's avatar Joe Poirier Committed by Rob Pike

Make.ccmd: link with mach lib,

remove explicit linking in make files

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4629051
parent df02e65d
......@@ -9,7 +9,7 @@ TARG:=$(TARG).exe
endif
$(TARG): $(OFILES) $(LIB)
$(HOST_LD) -o $(TARG) -L"$(GOROOT)"/lib $(OFILES) $(LIB) -lbio -l9 -lm $(HOST_LDFLAGS)
$(HOST_LD) -o $(TARG) -L"$(GOROOT)"/lib $(OFILES) $(LIB) -lbio -l9 -lmach $(HOST_LDFLAGS)
$(OFILES): $(HFILES)
......
......@@ -17,9 +17,6 @@ OFILES=\
HFILES=\
tree.h\
LIB=\
../../../lib/libmach.a\
NOINSTALL=1
include ../../Make.ccmd
......
......@@ -9,7 +9,4 @@ TARG=gopack
OFILES=\
ar.$O\
LIB=\
../../../lib/libmach.a\
include ../../Make.ccmd
......@@ -12,7 +12,4 @@ TARG=6nm
OFILES=\
nm.$O\
LIB=\
../../../lib/libmach.a\
include ../../Make.ccmd
......@@ -13,9 +13,6 @@ TARG=6prof
OFILES=\
main.$O\
LIB=\
../../../lib/libmach.a\
NOINSTALL=1
include ../../Make.ccmd
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment