1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:37:56 -07:00

Make.ccmd: link with mach lib,

remove explicit linking in make files

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4629051
This commit is contained in:
Joe Poirier 2011-06-19 13:57:22 +10:00 committed by Rob Pike
parent df02e65d54
commit 26b6a97c15
5 changed files with 1 additions and 13 deletions

View File

@ -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)

View File

@ -17,9 +17,6 @@ OFILES=\
HFILES=\
tree.h\
LIB=\
../../../lib/libmach.a\
NOINSTALL=1
include ../../Make.ccmd

View File

@ -9,7 +9,4 @@ TARG=gopack
OFILES=\
ar.$O\
LIB=\
../../../lib/libmach.a\
include ../../Make.ccmd

View File

@ -12,7 +12,4 @@ TARG=6nm
OFILES=\
nm.$O\
LIB=\
../../../lib/libmach.a\
include ../../Make.ccmd

View File

@ -13,9 +13,6 @@ TARG=6prof
OFILES=\
main.$O\
LIB=\
../../../lib/libmach.a\
NOINSTALL=1
include ../../Make.ccmd