]> Cypherpunks repositories - gostls13.git/commitdiff
Link against -lm so that we can find the function "floor".
authorIan Lance Taylor <iant@golang.org>
Fri, 17 Oct 2008 22:52:49 +0000 (15:52 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 17 Oct 2008 22:52:49 +0000 (15:52 -0700)
R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=17375
CL=17375

src/cmd/6g/Makefile

index 4d27ae811d6167db6f60dff705817f6c0b8eeaa8..74cb06e0cefafa537850e57dfbd8cb20542c0a6c 100644 (file)
@@ -25,7 +25,7 @@ LIB=\
        ../gc/gc.a$O
 
 $(TARG): $(OFILES) $(LIB)
-       $(LD) -o $(TARG) -L$(GOROOT)/lib $(OFILES) $(LIB) -lbio -l9
+       $(LD) -o $(TARG) -L$(GOROOT)/lib $(OFILES) $(LIB) -lbio -l9 -lm
 
 $(OFILES): $(HFILES)