]> Cypherpunks repositories - gostls13.git/commitdiff
Make.ccmd: another build fix.
authorRob Pike <r@golang.org>
Sun, 19 Jun 2011 05:30:54 +0000 (15:30 +1000)
committerRob Pike <r@golang.org>
Sun, 19 Jun 2011 05:30:54 +0000 (15:30 +1000)
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

index 0caca048532595623edf006e58c6b92a4b2832f8..f04864ab65822ffc03c55a084e312e6b66cf1647 100644 (file)
@@ -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)