rts: Don't build StgCRunAsm.S if unregisterised
authorBen Gamari <bgamari.foss@gmail.com>
Thu, 11 May 2017 19:41:38 +0000 (15:41 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 11 May 2017 21:33:11 +0000 (17:33 -0400)
commitaa8dcb33fd26d8bfd4cac2fbd1b1785b4a869897
treec63de724bea2bbacaa3f855d87f1f2b796336043
parent2fcb5c5c3f6c5a5936eeb5dc07b476e5737f12ad
rts: Don't build StgCRunAsm.S if unregisterised

StgCRunAsm.S provides StgCRun on powerpc64le platforms when
registerised.  However, in the unregisterised setting we use the
mini-interpreter and consequently shouldn't build StgCRunAsm.S lest we
get duplicate symbols.

Test Plan: Build unregisterised compiler on AIX.

Reviewers: hvr, trommler, austin, simonmar

Reviewed By: trommler, simonmar

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3560
rts/ghc.mk