diff options
| author | Ryan Burns <rtburns@protonmail.com> | 2021-08-24 00:21:04 -0700 |
|---|---|---|
| committer | Ryan Burns <rtburns@protonmail.com> | 2021-09-20 11:03:42 -0700 |
| commit | bd8258a389bf6337b0440cd06006e2e6e7fe097b (patch) | |
| tree | 4eb8d6cf59066d026bc23c19b75a40bb5150a3f6 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | f82d807d5be60cd1247495233ebcebb2bcfeca10 (diff) | |
cc-wrapper: ensure PIE flags precede PIC flags
fixes:
pkgsMusl.bulletml
pkgsMusl.proot
pkgsMusl.python3
Debian explains this issue well in the dpkg-buildflags manpage:
-fPIE
Can be linked into any program, but not a shared library (recommended).
-fPIC
Can be linked into any program and shared library.
On projects that build both programs and shared libraries you might need to
make sure that when building the shared libraries -fPIC is always passed last
(so that it overrides any previous -PIE) to compilation flags such as CFLAGS.
(from https://manpages.debian.org/bullseye/dpkg-dev/dpkg-buildflags.1.en.html#hardening)
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
