summaryrefslogtreecommitdiff
path: root/debian/rules.d
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-03-10 13:05:42 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-03-10 13:05:42 +0000
commit74fdf1efbd5d1ab3f8cbf6beb3db395b1df9c64e (patch)
treea3646dad5b43ea91bce5c9e8b6910a04a4f478bd /debian/rules.d
parent9f48524f524527e001a6684be1d004c003725c63 (diff)
downloadgcc-5-74fdf1efbd5d1ab3f8cbf6beb3db395b1df9c64e.tar.gz
- fix fallout from standalone go build
git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-5@7881 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/rules.d')
-rw-r--r--debian/rules.d/binary-go.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules.d/binary-go.mk b/debian/rules.d/binary-go.mk
index 549beef..96ad725 100644
--- a/debian/rules.d/binary-go.mk
+++ b/debian/rules.d/binary-go.mk
@@ -156,7 +156,8 @@ define do_go_dev
dh_installdirs -p$(2) $(gcc_lib_dir$(1))
DH_COMPAT=2 dh_movefiles -p$(2) \
$(gcc_lib_dir$(1))/libgobegin.a
- $(call install_gccgo_lib,libgomp,$(GOMP_SONAME),$(1),$(2))
+ $(if $(filter yes, $(with_standalone_go)), \
+ $(call install_gccgo_lib,libgomp,$(GOMP_SONAME),$(1),$(2)))
$(call install_gccgo_lib,libgo,$(GO_SONAME),$(1),$(2))
$(call __do_gccgo_libgcc,$(1),$(2),$(gcc_lib_dir$(1)),$(d)/$(usr_lib$(1)))
endef