How do I build basic GHC packages with -fPIC?
Ben Gamari
ben at smart-cactus.org
Thu Dec 28 18:13:20 UTC 2017
Alberto Valverde <alberto at toscat.net> writes:
> I think you need place the build.mk in it's place before running GHC's
> configure script.
>
AFAICT this shouldn't be necessary; build.mk is only looked at by make.
> On Thu, Dec 28, 2017 at 12:44 PM, Viacheslav Lotsmanov <
> lotsmanov89 at gmail.com> wrote:
>
>> Now I took my build.mk and just replaced lines with SRC_HC_OPTS and
>> SRC_CC_OPTS with ones from your example:
>>
>> SRC_HC_OPTS += -fPIC
>> SRC_CC_OPTS += -fPIC
>>
I have a build running to reproduce this. I'll let you know what I find.
Cheers,
- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20171228/5629e0e4/attachment.sig>
More information about the ghc-devs
mailing list