summaryrefslogtreecommitdiff
path: root/debian/rules.d
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-04-29 11:34:09 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-04-29 11:34:09 +0000
commit87444a7d35c8ed40dba911fa1ee28f976ad7de23 (patch)
tree4ca1e5760d055737d3b5298339373293aaa02a8d /debian/rules.d
parentcd8dadd4a9302ea1709d8eea8a7bd1b91e9d05a2 (diff)
downloadgcc-5-87444a7d35c8ed40dba911fa1ee28f976ad7de23.tar.gz
gcc-5 (5.1.1-2) unstable; urgency=medium
* Update to SVN 20150428 (r222550, 5.1.1) from the gcc-5-branch. * Fix the gnat build dependency. * Don't build go and gofmt for cross compilers. -- Matthias Klose <doko@ubuntu.com> Tue, 28 Apr 2015 23:57:14 +0200 git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-5@7994 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/rules.d')
-rw-r--r--debian/rules.d/binary-go.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/debian/rules.d/binary-go.mk b/debian/rules.d/binary-go.mk
index 8b484df..88d767c 100644
--- a/debian/rules.d/binary-go.mk
+++ b/debian/rules.d/binary-go.mk
@@ -42,10 +42,15 @@ dirs_go = \
$(PF)/include \
$(PF)/share/man/man1
files_go = \
- $(PF)/bin/$(cmd_prefix){gccgo,go,gofmt}$(pkg_ver) \
+ $(PF)/bin/$(cmd_prefix)gccgo$(pkg_ver) \
$(gcc_lexec_dir)/{cgo,go1} \
$(PF)/share/man/man1/{go,gofmt}$(pkg_ver).1
+ifneq (,$(filter $(build_type), build-native cross-build-native))
+ files_go += \
+ $(PF)/bin/{go,gofmt}$(pkg_ver)
+endif
+
ifneq ($(GFDL_INVARIANT_FREE),yes)
files_go += \
$(PF)/share/man/man1/$(cmd_prefix)gccgo$(pkg_ver).1