summary refs log tree commit diff
path: root/pkgs/build-support/cc-wrapper
Commit message (Collapse)AuthorAge
* treewide: cleanup some references to bashJan Malakhovski2018-09-04
|
* Revert "Merge pull request #44767 from obsidiansystems/wrapper-env-var-path"Matthew Bauer2018-08-22
| | | | | This reverts commit 89efc27f571368b475ce87e71445be10a9d1121a, reversing changes made to d0f11020ca55dfe20ecad05005343e3a3e3cbd90.
* Merge pull request #44767 from obsidiansystems/wrapper-env-var-pathJohn Ericson2018-08-17
|\ | | | | {cc,bintools}-wrapper, ghc, libgcc: Define wrapper env vars as full paths
| * cc-wrapper: Define env vars with full pathJohn Ericson2018-08-06
| |
| * Revert "Merge #44221: default for NIX_CXXSTDLIB_COMPILE"Vladimír Čunát2018-07-31
| | | | | | | | | | | | This reverts commit 034c9816d5236e5c0131b715ee08fed56c89d4ad, reversing changes made to 5afe87ed7a75e99c3b68f255562dc82b3e3c7d4e. Huge rebuild, moving to staging.
| * Use the default for NIX_CXXSTDLIB_COMPILE even if defined (but empty).Eduard-Mihai Burtescu2018-07-30
| |
* | Revert "cc-wrapper: propagate man and info to propagated-build-inputs"Eelco Dolstra2018-08-09
| | | | | | | | This reverts commit 28ad0703f3db92a3cbb8b1249101e0ff4e3616f6.
* | Revert "cc-wrapper, bintools-wrapper: simply symlink man and info outputs"Eelco Dolstra2018-08-09
| | | | | | | | This reverts commit 02c09e01712ce0b61e5c8f7159047699a434f7fc.
* | cc-wrapper, bintools-wrapper: simply symlink man and info outputsJan Malakhovski2018-08-06
| | | | | | | | See discussion in #44516.
* | cc-wrapper: propagate man and info to propagated-build-inputsJan Malakhovski2018-08-05
| |
* | Re-Revert "Merge #44221: default for NIX_CXXSTDLIB_COMPILE"Vladimír Čunát2018-07-31
|/ | | | | This reverts commit fd81a2ecb6b85594dc79ad53566c822849d4e47a. Moved from master to staging.
* {cc,bintools}-wrapper: also replace . in configMatthew Bauer2018-07-28
| | | | | Some configs will have dots for version numbers. To normalize we can just use _ again.
* cc-wrapper: disable stackprotector for mingwMatthew Bauer2018-06-23
| | | | It seems to break things.
* Merge a subset of staging (security)Vladimír Čunát2018-06-15
|\ | | | | | | | | | | In particular, this contains Firefox-related and libgcrypt updates. Other larger rebuilds would apparently need lots of time to catch up on Hydra, due to nontrivial rebuilds in other branches than staging.
| * cc-wrapper, bintools-wrapper: use getHostRoleEnvHook instead of ↵Ben Wolsieffer2018-06-03
| | | | | | | | | | | | getTargetRoleEnvHook Fixes include and link paths when cross compiling.
* | cc-wrapper: fix eval error on macMatthew Bauer2018-06-14
|/ | | | | When doing cross to linux, we will not have a GCC compiler (yet). We can hopefully skip the cxx stdlib stuff for now.
* clang_6: fix sanitizers under libstdc++Benjamin Saunders2018-05-24
|
* Merge remote-tracking branch 'upstream/staging' into compiler-rtJohn Ericson2018-05-24
|\
| * Merge remote-tracking branch 'upstream/staging' into strictDepsJohn Ericson2018-05-14
| |\
| | * 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
| | | |
| | | * treewide: Use pkgs/build-support/roles.bash to remove copy pastaJohn Ericson2018-05-07
| | | | | | | | | | | | | | | | | | | | Also fix some setup hooks that unnecessarily used environment hooks, which revolted in the same variable being modified too many times.
| | * | bintools-wrapper, cc-wrapper: don't add `targetPrefix` the second timeJan Malakhovski2018-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ... binutils and gcc add it already anyway. Without this it's easy to get cross-toolchain paths longer than 256 chars and nix-daemon will then fail to commit them to /nix/store on XFS.
| | * | {cc,bintools}-wrapper: fix removal of unsupported hardening flagsPiotr Bogdan2018-04-14
| | | |
| | * | 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.
| * | | treewide: Get rid of all uses of crossConfigJohn Ericson2018-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hack of using `crossConfig` to enforce stricter handling of dependencies is replaced with a dedicated `strictDeps` for that purpose. (Experience has shown that my punning was a terrible idea that made more difficult and embarrising to teach teach.) Now that is is clear, a few packages now use `strictDeps`, to fix various bugs: - bintools-wrapper and cc-wrapper
* | | | tests.cc-wrapper: verify building with sanitizersBenjamin Saunders2018-05-24
| |_|/ |/| |
* | | 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.
* | | Merge pull request #28029 from cstrahan/hardening-fixJohn Ericson2018-04-10
|\ \ \ | |_|/ |/| | hardening: fix #18995
| * | hardening: ReindentJohn Ericson2018-04-10
| | |
| * | hardening: Tiny reindentJohn Ericson2018-04-10
| | |
| * | hardening: line order, spacing, and pointless quoting for consistencyJohn Ericson2018-04-10
| | |
| * | hardenning: Rejigger ifs and explicit declare and unset -vJohn Ericson2018-04-10
| | |
| * | hardening: simplify reporting of disabled flagsCharles Strahan2018-04-10
| | |
| * | hardening: make requested fixesCharles Strahan2018-04-10
| | |
| * | hardening: ld wrapper changes, setup-hook, etcCharles Strahan2018-03-06
| | |
| * | hardening: initial cross supportCharles Strahan2018-03-06
| | |
| * | hardening: allow user supplied flags to overrideCharles Strahan2018-03-06
| | | | | | | | | | | | Put hardening flags before user supplied flags.
| * | hardening: clarify the whitelist logicCharles Strahan2018-03-06
| | | | | | | | | | | | | | | | | | | | | | | | Per @Ericson2314's suggestion [1], make it more clear that the active hardenings are decided via whitelist; the blacklist is merely for the debug messages. 1: https://github.com/NixOS/nixpkgs/pull/28029/commits/36d5ce41d4538e83199a000e6f849442c1cf959c#r133279731
| * | hardening: fix careless bugsCharles Strahan2018-03-06
| | | | | | | | | | | | | | | | | | | | | I got a substitution backwards (used '+' instead of '-'). Also, this now works under `set -u` (had to fix a couple unbound variable references).
| * | hardening: fix bug/typoCharles Strahan2018-03-06
| | |
| * | hardening: fix #18995Charles Strahan2018-03-06
| |/
| * Revert "Merge staging at '8d490ca9934d0' into master"Vladimír Čunát2018-02-26
| | | | | | | | | | | | This reverts commit fc232422201c0364dbd57826c9a137cc1239caea, reversing changes made to 754816b84b98afdc0727e13dd66e1698b097de6a. We don't have many binaries yet. Comment on the original merge commit.
* | treewide: Remove gnat support.Shea Levy2018-03-08
| | | | | | | | See discussion in https://github.com/NixOS/nixpkgs/commit/6ac7b19c978e951c124c5ea434c94f95f593888e.
* | Merge pull request #35071 from oxij/stdenv/infopagesJohn Ericson2018-02-26
|\ \ | |/ |/| stdenv, bash: fixing info pages and stuff
| * cc-wrapper: allow building without documentation, propagate info pagesJan Malakhovski2018-02-26
| |
* | cc-wrapper: fix bool handling for empty and zero valuesNikolay Amiantov2018-02-21
|/ | | | | | Before the code would fail silently for zero values and with some output for empties. We now currently handle both via defaulting value to zero and making `let` return success error code when there's no syntax error.
* Merge branch 'master' into stagingVladimír Čunát2017-12-31
|\ | | | | | | | | A few thousand rebuilds from master, again. Hydra: ?compare=1422362
| * cc-wrapper: allow compilers to specify unsupported hardening modesDmitry Kalinkin2017-12-30
| | | | | | | | Fixes: 0fd7ef61b2 ('clang_34: Disable hardening bits (#28543)')
* | stdenv-setup: Ease the transition with native buildsJohn Ericson2017-12-30
| | | | | | | | | | | | | | | | | | | | | | | | - All deps go on the PATH - CC and Bintools wrappers with their host != depender's host still get their setup hooks run. - Environment hooks get applied to all packages This isn't so elegent, but eases the transition on a very significant PR.