From f22f40532ecfac5eaba9cebe0cbef4efeb9de146 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sun, 19 Jun 2011 15:30:54 +1000 Subject: [PATCH] Make.ccmd: another build fix. It's sad to think there are environments where compiling against a library isn't enough information for the the linker to decide that you need that library. TBR=jdpoirier R=jdpoirier CC=golang-dev https://golang.org/cl/4646047 --- src/Make.ccmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Make.ccmd b/src/Make.ccmd index 0caca04853..f04864ab65 100644 --- a/src/Make.ccmd +++ b/src/Make.ccmd @@ -9,7 +9,7 @@ TARG:=$(TARG).exe endif $(TARG): $(OFILES) $(LIB) - $(HOST_LD) -o $(TARG) -L"$(GOROOT)"/lib $(OFILES) $(LIB) -lmach -lbio -l9 $(HOST_LDFLAGS) + $(HOST_LD) -o $(TARG) -L"$(GOROOT)"/lib $(OFILES) $(LIB) -lmach -lbio -l9 -lm $(HOST_LDFLAGS) $(OFILES): $(HFILES) -- 2.50.0