~ubuntu-branches/ubuntu/oneiric/ghc6/oneiric

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane
  • Date: 2010-12-05 12:26:59 UTC
  • Revision ID: james.westby@ubuntu.com-20101205122659-l2q4p2m80zlt44eb
Tags: 6.12.1-13ubuntu2
* debian/patches/unix-pthread-trac-4523: Apply patch from upstream BTS #4523
  to add missing linker reference to pthread, which caused linking failuers in
  depending packages when attempting to link with the unix library on armel.
* debian/rules, debian/patches/ghc-pkg-pthread: Add -optl-pthread to
  explicitly link with -lpthread. This is a temporary fix to make the
  GHC used for bootstrapping work correctly on armel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        echo "UseLibFFIForAdjustors=YES" >> mk/build.mk
62
62
endif
63
63
ifneq (,$(findstring $(DEB_HOST_ARCH), arm armel))
 
64
        echo "SRC_HC_OPTS += -optl-pthread" >> mk/build.mk
64
65
        echo "SRC_HC_OPTS     += -optc-mlong-calls" >> mk/build.mk
65
66
endif
66
67
ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))