mirror of
https://github.com/golang/go
synced 2024-11-24 21:00:09 -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:
parent
df02e65d54
commit
26b6a97c15
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user