This is an archive of the discontinued LLVM Phabricator instance.

Also add the option -no-pie (like -nopie)
ClosedPublic

Authored by sylvestre.ledru on Jul 16 2017, 8:34 AM.

Details

Summary

For example, this option is expected by ghc (haskell compiler). Currently, building with ghc will fail with:

clang: error: unknown argument: '-no-pie'
`gcc' failed in phase `Linker'. (Exit code: 1)
. /usr/share/haskell-devscripts/Dh_Haskell.sh && \
configure_recipe

This won't do anything (but won't fail with an error)

Diff Detail

Event Timeline

joerg accepted this revision.Jul 16 2017, 9:48 AM
joerg added a subscriber: joerg.

Please mark it as alias for -nopie, otherwise fine.

This revision is now accepted and ready to land.Jul 16 2017, 9:48 AM