960-go_libm.patch 367 B

1234567891011
  1. --- a/gcc/go/Make-lang.in
  2. +++ b/gcc/go/Make-lang.in
  3. @@ -74,7 +74,7 @@ go_OBJS = $(GO_OBJS) go/gospec.o
  4. go1$(exeext): $(GO_OBJS) attribs.o $(BACKEND) $(LIBDEPS)
  5. +$(LLINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
  6. - $(GO_OBJS) attribs.o $(BACKEND) $(LIBS) $(BACKENDLIBS)
  7. + $(GO_OBJS) attribs.o $(BACKEND) $(LIBS) $(BACKENDLIBS) -lm
  8. # Documentation.