nixpkgs/pkgs
Ryan Burns bd8258a389 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)
2021-09-20 11:03:42 -07:00
..
applications Merge pull request #135112 from r-ryantm/auto-update/whatsapp-for-linux 2021-09-16 19:57:36 -04:00
build-support cc-wrapper: ensure PIE flags precede PIC flags 2021-09-20 11:03:42 -07:00
common-updater
data
desktops Merge pull request #137841 from ncfavier/file-roller-wrapper 2021-09-15 21:45:31 +08:00
development Merge pull request #135247 from r-ryantm/auto-update/oq 2021-09-16 19:52:57 -04:00
games Merge pull request #137941 from r-ryantm/auto-update/the-powder-toy 2021-09-15 20:26:43 -05:00
misc Merge pull request #137977 from angustrau/vscode-ext-lex-flex-yacc-bison 2021-09-16 14:02:27 -04:00
os-specific Merge pull request #138168 from NixOS/zfs-2.1.1 2021-09-16 23:32:21 +00:00
pkgs-lib
servers Merge pull request #138023 from r-ryantm/auto-update/livepeer 2021-09-16 19:23:01 -04:00
shells oh-my-zsh: 2021-09-10 → 2021-09-15 2021-09-16 09:16:58 +00:00
stdenv
test
tools Merge pull request #138121 from r-ryantm/auto-update/grype 2021-09-16 22:32:11 +02:00
top-level bash-preexec: init at 0.4.1 2021-09-16 22:31:49 +02:00