summary refs log tree commit diff
path: root/pkgs/build-support/bintools-wrapper/add-flags.sh
Commit message (Collapse)AuthorAge
* bintools-wrapper: skip dynamic linker for static binariesJörg Thalheim2020-12-27
|
* Revert "bintools-wrapper: skip dynamic linker for static binaries"Vladimír Čunát2020-12-21
| | | | | | | This reverts commit ccfd26ef14ea213320f0b49db3fb347785b38f06. These toolchain changes are too problematic, so reverting for now; see https://github.com/NixOS/nixpkgs/pull/107086#issuecomment-749196366
* bintools-wrapper: skip dynamic linker for static binariesJörg Thalheim2020-12-14
| | | | | | | | Currently we set dynamic-linker unconditionally. This breaks however some static binaries i.e. rust binaries linked against musl. There is no reason we should set an elf interpreter for static binaries hence this is skipped if `-static` or `-static-pie` is either passed to our cc or ld wrapper.
* *-wrapper; Switch from `infixSalt` to `suffixSalt`John Ericson2020-05-12
| | | | | | | I hate the thing too even though I made it, and rather just get rid of it. But we can't do that yet. In the meantime, this brings us more inline with autoconf and will make it slightly easier for me to write a pkg-config wrapper, which we need.
* Merge pull request #40139 from obsidiansystems/modular-setup-hooksJohn Ericson2018-05-07
|\ | | | | treewide: Modular setup hooks
| * {bintools,cc}-wrapper: Factor out role accumulation logicJohn Ericson2018-05-07
| |
| * Revert "Merge pull request #28029 from cstrahan/hardening-fix"Matthew Bauer2018-04-10
| | | | | | | | | | | | | | This reverts commit 0dbc0067604eb9629d1458fcf2b226a88e728f14, reversing changes made to cb7f7742652acdf3086b3d132163b5ea2c2328eb. Should go into staging.
| * hardening: initial cross supportCharles Strahan2018-03-06
| |
| * hardening: fix #18995Charles Strahan2018-03-06
| |
* | Revert "Revert "Merge pull request #28029 from cstrahan/hardening-fix""John Ericson2018-04-11
|/ | | | | This reverts commit 6c064e6b1f34a8416f990db0cc617a7195f71588, reapplying PR #28029 which was supposed to have gone to staging all along.
* bintools-wrapper: InitJohn Ericson2017-12-13
Factor a bintools (i.e. binutils / cctools) wrapper out of cc-wrapper. While only LD is wrapped, the setup hook defines environment variables on behalf of other utilites.