diff options
author | Guillem Jover <guillem@debian.org> | 2016-11-10 04:55:02 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2016-11-11 02:34:16 +0100 |
commit | 8ce8524a7268525b27e04cab550e92edd9ea18a5 (patch) | |
tree | caa7690c97d0c6f16a9155b0bb109e253064f719 /data/pie-compile.specs | |
parent | c0f98e5994506ebd676918832aca97a81cf2bd45 (diff) | |
download | dpkg-8ce8524a7268525b27e04cab550e92edd9ea18a5.tar.gz |
data: Improve PIE handling
- Rename the spec name cc1_options to self_spec.
- Do not set PIE options if they have been negated, and do not reset
them if they have been requested.
Closes: #843791, #843826
Diffstat (limited to 'data/pie-compile.specs')
-rw-r--r-- | data/pie-compile.specs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/pie-compile.specs b/data/pie-compile.specs index fc54bcb51..74d82155c 100644 --- a/data/pie-compile.specs +++ b/data/pie-compile.specs @@ -1,2 +1,2 @@ -*cc1_options: -+ %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}} +*self_spec: ++ %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:%{!fno-PIE:%{!no-pie:-fPIE}}}}}}}} |