Merge remote-tracking branch 'upstream/master' into hardened-stdenv
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user