3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support
Lluís Batlle i Rossell f3c23487a2 Adding a new version of the gcc-wrapper, named gcc-wrapper2, in order not to rebuild
stdenv.

In this gcc-wrapper2 I made the ld-wrapper.sh to handle the linking with shared
objects through direct pass as ld command arguments of the absolute path to shared
objects, instead of using the -L/-l combinations.

cmake 'FindXXX.cmake' modules make a strong usage of the dynamic linking directly
passing the absolute path to the shared object to the linker, and as our wrapper did
not add any -rpath for those, writting the nix expressions for some cmake packages
resulted in a lot of tricks, compared to using this gcc-wrapper2.

This gcc-wrapper2/ld-wrapper.sh should become the gcc-wrapper/ld-wrapper in a
stdenv update.

I also updated some cmake expressions to use this gcc-wrapper2, and reduced its
tricks.

I also updated the cmake setup-hook for it to make cmake not touch any rpath decided
at build time, when running the 'make install' of makefiles created by cmake.

svn path=/nixpkgs/trunk/; revision=18885
2009-12-10 22:19:52 +00:00
..
buildenv revrting my accident only keeping rubygem updates and ruby libs 2009-06-30 15:58:02 +00:00
builder-defs * Remove some more unused functions. 2009-11-17 15:31:48 +00:00
checker removed all __primops from nixpkgs 2009-05-24 10:57:46 +00:00
deb-package big breaking change: renaming lib.getAttr to lib.attrByPath 2009-05-24 10:57:41 +00:00
fetchbzr Add `fetchbzr', to retrieve remote Bazaar repositories. 2008-09-26 08:57:51 +00:00
fetchcvs * Quick hack to support checkout by date. 2008-02-28 23:43:21 +00:00
fetchdarcs Added Idris and updated fetchdarcs. 2009-05-13 19:02:23 +00:00
fetchfile * "." -> "source". 2005-12-05 14:11:09 +00:00
fetchgit echo to stderr in stead of stdout. else hydra cannot read hash/path 2009-11-18 19:10:24 +00:00
fetchhg * Add a fetchhg builder to checkout mercurial repositories. 2009-11-14 20:14:21 +00:00
fetchmtn Reduce fetchmtn verbosity 2009-11-08 22:30:38 +00:00
fetchsvn nix-prefetch-svn: Support $NIX_PREFETCH_SVN_LEAVE_DOT_SVN. 2009-12-03 15:01:54 +00:00
fetchsvnssh undo 2008-07-06 15:46:10 +00:00
fetchurl fetchurl: Improve GNU mirror list. 2009-11-18 13:18:28 +00:00
gcc-cross-wrapper * Remove references to substitute.sh. 2006-12-27 18:17:53 +00:00
gcc-upc-wrapper Add GCC-UPC, a compiler for the UPC distributed shared memory language. 2008-03-04 16:20:11 +00:00
gcc-wrapper Revert r16645, which was intended for the `stdenv-updates' branch. 2009-08-10 13:37:18 +00:00
gcc-wrapper2 Adding a new version of the gcc-wrapper, named gcc-wrapper2, in order not to rebuild 2009-12-10 22:19:52 +00:00
kernel * addCoverageInstrumentation: factor out the code that keeps the build 2009-09-01 21:56:46 +00:00
make-desktopitem Added desktop file generation function and desktop item for firefox 2009-05-10 12:03:53 +00:00
make-symlinks * "." -> "source". 2005-12-05 14:11:09 +00:00
make-wrapper * Firefox wrapper: put gecko-mediaplayer and mplayer at the start of 2009-07-16 11:22:37 +00:00
mono-dll-fixer * Remove references to substitute.sh. 2006-12-27 18:17:53 +00:00
native-darwin-cctools-wrapper * Changed version of gcc to 4.0.1 - 5484 on darwin 2009-06-21 18:37:54 +00:00
nuke-references * Use the sh from klibc in the bootstrap. It's a lot smaller than 2009-01-29 17:48:45 +00:00
release releaseTools.sourceTarball: Allow overriding of the bootstrap build inputs. 2009-12-04 14:56:37 +00:00
src-only A helper to get the source some package is built from. 2008-10-01 15:57:22 +00:00
substitute * Allow post/pre-install hooks. 2008-02-12 08:42:33 +00:00
upstream-updater Update CouchDB; add Apache-related snippets to update-upstream-data. 2009-12-09 12:59:23 +00:00
vm * Added Fedora 12. This requires the latest RPM, because the RPMs are 2009-12-09 22:35:46 +00:00
trivial-builders.nix Fix linkFarm for its new location 2009-11-23 19:28:03 +00:00