Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

ghc: add ENV.m32 for 32bit on x64. #15933

Closed
wants to merge 1 commit into from
Closed

Conversation

2bits
Copy link
Contributor

@2bits 2bits commented Nov 9, 2012

  • Add ENV.m32 to fix build errors on 64bit hardware w/ --32-bit

Some users want to force 32bit ghc on 64bit hardware.
Ghc, however, comes with several internal libraries like libgmp
that get configured during the build. By forcing ENV.m32,
we force all the internal libs to build 32bit also.

Fixes #15925

- Add `ENV.m32` to fix build errors on 64bit hardware w/ `--32-bit`

Some users want to force 32bit ghc on 64bit hardware.
Ghc, however, comes with several internal libraries like libgmp
that get configured during the build. By forcing `ENV.m32`,
we force all the internal libs to build 32bit also.

Fixes Homebrew#15925
@Sharpie Sharpie closed this in facfe08 Nov 9, 2012
@Sharpie
Copy link
Contributor

Sharpie commented Nov 9, 2012

Thanks!

snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this pull request Dec 17, 2012
- Add `ENV.m32` to fix build errors on 64bit hardware w/ `--32-bit`

Some users want to force 32bit ghc on 64bit hardware.
Ghc, however, comes with several internal libraries like libgmp
that get configured during the build. By forcing `ENV.m32`,
we force all the internal libs to build 32bit also.

Fixes Homebrew#15925.
Closes Homebrew#15933.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ghc --32-bit failed to build on OS X 10.8.2
2 participants