diff options
| author | Matthew Bauer <mjbauer95@gmail.com> | 2021-07-15 20:08:33 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-15 20:08:33 -0500 |
| commit | f5074933b7280ce32e1a756e6468a5321cb885de (patch) | |
| tree | 8d68e13fea601333a86f788809b53d01210af3d6 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | ed4094a728ae4b2465a154057a3b05a46625e9c4 (diff) | |
bintools: disable -pie when -r or -Ur are used (#128674)
* bintools: disable -pie when -r or -Ur are used
ld’s -r allows you to partially link object files. When -pie is passed with -r, though, we get:
ld: -r and -pie may not be used together
Most build systems are intelligent enough to pass -no-pie before -r, but we might as well support those that
don’t.
Note: -pie is not enabled by default in Nixpkgs, but it is when you are using musl. So this solution is really
only useful for musl toolchains.
* bintools-wrapper: Add incremental -i check for pie
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
