bakelite: unstable-2021-10-19 -> unstable-2022-02-12
This commit is contained in:
parent
b2ccf580a0
commit
999a964d09
|
@ -2,17 +2,21 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bakelite";
|
||||
version = "unstable-2021-10-19";
|
||||
version = "unstable-2022-02-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "richfelker";
|
||||
repo = pname;
|
||||
rev = "5fc3cf9704dbaa191b95f97d2a700588ea878a36";
|
||||
sha256 = "xoGor8KMG1vU6hP6v6gHcADKjVpaClvkivxkcPUJtss=";
|
||||
rev = "373901734d114e42aa385e6a7843745674e4ca08";
|
||||
hash = "sha256-HBnYlUyTkvPTbdsZD02yCq5C7yXOHYK4l4mDRUkcN5I=";
|
||||
};
|
||||
|
||||
hardeningEnable = [ "pie" ];
|
||||
buildFlags = [ "CFLAGS=-D_GNU_SOURCE" ];
|
||||
preBuild = ''
|
||||
# pipe2() is only exposed with _GNU_SOURCE
|
||||
# Upstream makefile explicitly uses -O3 to improve SHA-3 performance
|
||||
makeFlagsArray+=( CFLAGS="-D_GNU_SOURCE -g -O3" )
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
|
Loading…
Reference in a new issue