]> granicus.if.org Git - clang/commit
Also add the option -no-pie (like -nopie)
authorSylvestre Ledru <sylvestre@debian.org>
Tue, 18 Jul 2017 06:54:54 +0000 (06:54 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Tue, 18 Jul 2017 06:54:54 +0000 (06:54 +0000)
commitd0d080025d8dcf56db1fb86dc6951b247d4f2b39
tree38b7220006fc2c917e0ddb0c92447797137d2062
parent59acad39f6ae80195cd364ef03114e48fcbdacba
Also add the option -no-pie (like -nopie)

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)

Reviewers: rafael, joerg

Reviewed By: joerg

Subscribers: joerg, cfe-commits

Differential Revision: https://reviews.llvm.org/D35462

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308268 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
test/Driver/pic.c