tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
glew: support cross-compilation
Rick van Schijndel
4 years ago
805d4ee7
cadf0193
+3
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
glew
default.nix
+3
pkgs/development/libraries/glew/default.nix
···
43
43
44
44
makeFlags = [
45
45
"SYSTEM=${if stdenv.hostPlatform.isMinGW then "mingw" else stdenv.hostPlatform.parsed.kernel.name}"
46
46
+
"CC=${stdenv.cc.targetPrefix}cc"
47
47
+
"LD=${stdenv.cc.targetPrefix}cc"
48
48
+
"AR=${stdenv.cc.targetPrefix}ar"
46
49
];
47
50
48
51
enableParallelBuilding = true;