Skip to content
This repository was archived by the owner on Feb 3, 2022. It is now read-only.
This repository was archived by the owner on Feb 3, 2022. It is now read-only.

clang: error: unknown argument: '-no-pie' on darwin macOS High Sierra 10.13.4 #304

@jcrben

Description

@jcrben

Installed haskell-platform via homebrew cask; brew cask info haskell-platform reports haskell-platform: 8.4.2

This is an open question on Stackoverflow (as well as other places). I followed https://stackoverflow.com/a/50419101/4200039 in part and fixed it by replacing
, ("C compiler supports -no-pie","YES")
with
, ("C compiler supports -no-pie","NO").

It seems this is something of a known issue based on #272 (comment), but it seems to be broken by default on macOS unless I've got something weird about my system...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions