nixpkgs/pkgs
Tuomas Tynkkynen 0100b27069 imake: Add uberhack to workaround broken 'gcc -x c'
Our cc-wrapper is broken whenever the '-x' flag is used:
'gcc -x c foo.c -o bar' doesn't work the same way as 'gcc foo.c -o bar'
does. (Try both with NIX_DEBUG=1.)

What happens is that passing '-x' causes linker-related flags (such as
-Wl,-dynamic-linker) not to be added, just like if '-c' is passed.
The bug happens outside the multiple-outputs branch as well, but it
doesn't break imake there. It only breaks in multiple-outputs because
linking without -Wl,-dynamic-linker produces a binary with an invalid
ELF interpreter path. (Which arguably, is a bug in its own.)
2015-10-03 14:08:51 +02:00
..
applications flac: Remove conflicting outputs produced by auto merge 2015-10-03 13:36:16 +02:00
build-support stdenv/multiple-outputs: Fix checking of propagatedOutputs 2015-10-03 14:08:48 +02:00
data Merge commit staging+systemd into closure-size 2015-10-03 13:33:37 +02:00
desktops Merge: staging with systemd 2015-10-02 10:24:41 +02:00
development python3: Use correct build inputs for multi-output deps 2015-10-03 14:08:51 +02:00
games Merge commit staging+systemd into closure-size 2015-10-03 13:33:37 +02:00
misc Merge commit staging+systemd into closure-size 2015-10-03 13:33:37 +02:00
os-specific Merge commit staging+systemd into closure-size 2015-10-03 13:33:37 +02:00
servers imake: Add uberhack to workaround broken 'gcc -x c' 2015-10-03 14:08:51 +02:00
shells Merge commit staging+systemd into closure-size 2015-10-03 13:33:37 +02:00
stdenv Merge commit staging+systemd into closure-size 2015-10-03 13:33:37 +02:00
test
tools groff: Fix multiple-output build 2015-10-03 14:08:50 +02:00
top-level Merge commit staging+systemd into closure-size 2015-10-03 13:33:37 +02:00