Update copyright dates
[platform/upstream/gcc.git] / gotools / Makefile.am
index 131f6d5..d58fed5 100644 (file)
@@ -1,5 +1,5 @@
 # Makefile for gotools
-#   Copyright 2015 Free Software Foundation, Inc.
+#   Copyright (C) 2015-2016 Free Software Foundation, Inc.
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -30,7 +30,7 @@ LIBGODEP = $(libgodir)/libgo.la
 
 if NATIVE
 # Use the compiler we just built.
-GOCOMPILER = $(GOC_FOR_TARGET)
+GOCOMPILER = $(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET)
 else
 GOCOMPILER = $(GOC)
 endif
@@ -76,6 +76,7 @@ go_cmd_go_files = \
 go_cmd_gofmt_files = \
        $(cmdsrcdir)/gofmt/doc.go \
        $(cmdsrcdir)/gofmt/gofmt.go \
+       $(cmdsrcdir)/gofmt/internal.go \
        $(cmdsrcdir)/gofmt/rewrite.go \
        $(cmdsrcdir)/gofmt/simplify.go