Skip to content

Commit

Permalink
gcc-4.8: fixup cross compilation after merging NixOS#15867
Browse files Browse the repository at this point in the history
Taken from https://pastebin.com/my8gcybx given to me on IRC.
  • Loading branch information
John Q Crosscompiler authored and Ericson2314 committed Dec 29, 2018
1 parent d5fe466 commit e2279f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/compilers/gcc/4.8/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ stdenv.mkDerivation ({
EXTRA_TARGET_FLAGS = optionals
(targetPlatform != hostPlatform && libcCross != null)
([
"-idirafter ${libcCross.dev}/include"
"-idirafter ${getDev libcCross}/include"
] ++ optionals (! crossStageStatic) [
"-B${libcCross.out}/lib"
]);
Expand Down

0 comments on commit e2279f8

Please sign in to comment.