~ubuntu-branches/ubuntu/vivid/gccgo-5/vivid-updates

« back to all changes in this revision

Viewing changes to debian/rules.d/binary-go.mk

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2015-03-08 21:04:29 UTC
  • Revision ID: package-import@ubuntu.com-20150308210429-89ngogyvulnv41mr
Tags: 5-20150307-1ubuntu3
* gccgo-5: Drop the conflict for gccgo-go for now.
* gccgo-5: Install the libgomp bits too.
* libgo: Add arm64 to the pointer size map (Michael Hudson).
* libgo: Add ppc to the pointer size map.

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
        dh_installdirs -p$(2) $(gcc_lib_dir$(1))
157
157
        DH_COMPAT=2 dh_movefiles -p$(2) \
158
158
                $(gcc_lib_dir$(1))/libgobegin.a
 
159
        $(call install_gccgo_lib,libgomp,$(GOMP_SONAME),$(1),$(2))
159
160
        $(call install_gccgo_lib,libgo,$(GO_SONAME),$(1),$(2))
160
161
        $(call __do_gccgo_libgcc,$(1),$(2),$(gcc_lib_dir$(1)),$(d)/$(usr_lib$(1)))
161
162
endef
209
210
 
210
211
ifneq (,$(findstring gccgo,$(PKGSOURCE)))
211
212
        rm -rf $(d_go)/$(gcc_lib_dir)/include/cilk
212
 
        rm -rf $(d_go)/$(gcc_lib_dir)/include/omp.h
213
213
        rm -rf $(d_go)/$(gcc_lib_dir)/include/openacc.h
214
214
endif
215
215
 
227
227
endif
228
228
 
229
229
ifeq ($(with_standalone_go),yes)
230
 
ifneq ($(DEB_CROSS),yes)
 
230
  ifneq ($(DEB_CROSS),yes)
231
231
        for i in gcc gcov gcc-ar gcc-nm gcc-ranlib; do \
232
232
          ln -sf $$i$(pkg_ver) \
233
233
            $(d_go)/$(PF)/bin/$(DEB_TARGET_GNU_TYPE)-$$i$(pkg_ver); \
234
234
          ln -sf $$i$(pkg_ver) \
235
235
            $(d_go)/$(PF)/bin/$(TARGET_ALIAS)-$$i$(pkg_ver); \
236
236
        done
237
 
ifneq ($(GFDL_INVARIANT_FREE),yes)
 
237
    ifneq ($(GFDL_INVARIANT_FREE),yes)
238
238
        for i in gcc gcov gcc-ar gcc-nm gcc-ranlib; do \
239
239
          ln -sf gcc$(pkg_ver).1 \
240
240
            $(d_go)/$(PF)/share/man/man1/$(DEB_TARGET_GNU_TYPE)-$$i$(pkg_ver).1; \
241
241
          ln -sf $$i$(pkg_ver).1 \
242
242
            $(d_go)/$(PF)/share/man/man1/$(TARGET_ALIAS)-$$i$(pkg_ver).1; \
243
243
        done
244
 
endif
245
 
endif
 
244
    endif
 
245
  endif
 
246
  ifeq ($(with_gomp),yes)
 
247
        mv $(d)/$(usr_lib)/libgomp*.spec $(d_go)/$(gcc_lib_dir)/
 
248
  endif
246
249
endif
247
250
 
248
251
        debian/dh_doclink -p$(p_go) $(p_xbase)