Merge remote-tracking branch 'upstream/master' into hardened-stdenv

This commit is contained in:
Robin Gloster
2016-07-15 14:41:01 +00:00
1603 changed files with 132258 additions and 39568 deletions
+5 -2
View File
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
RTE_KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
RTE_TARGET = "x86_64-native-linuxapp-gcc";
# we need ssse3 instructions to build
# we need sse3 instructions to build
NIX_CFLAGS_COMPILE = [ "-march=core2" ];
enableParallelBuilding = true;
@@ -24,8 +24,11 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "pic" ];
buildPhase = ''
configurePhase = ''
make T=x86_64-native-linuxapp-gcc config
'';
buildPhase = ''
make T=x86_64-native-linuxapp-gcc install
make T=x86_64-native-linuxapp-gcc examples
'';