diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2017-07-18 06:54:54 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2017-07-18 06:54:54 +0000 |
commit | d0d080025d8dcf56db1fb86dc6951b247d4f2b39 (patch) | |
tree | 38b7220006fc2c917e0ddb0c92447797137d2062 /include | |
parent | 59acad39f6ae80195cd364ef03114e48fcbdacba (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/Driver/Options.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 861dfbf191..753c178eec 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -2119,6 +2119,7 @@ def nofixprebinding : Flag<["-"], "nofixprebinding">; def nolibc : Flag<["-"], "nolibc">; def nomultidefs : Flag<["-"], "nomultidefs">; def nopie : Flag<["-"], "nopie">; +def no_pie : Flag<["-"], "no-pie">, Alias<nopie>; def noprebind : Flag<["-"], "noprebind">; def noseglinkedit : Flag<["-"], "noseglinkedit">; def nostartfiles : Flag<["-"], "nostartfiles">; |