Merge pull request #131270 from helsinki-systems/fix/postgresql-llvm

postgresql: fix build with clang on linux
This commit is contained in:
Mario Rodas 2021-07-25 22:51:03 -05:00 committed by GitHub
commit f7c6a94e22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ let
inherit sha256;
};
hardeningEnable = lib.optionals (!stdenv.isDarwin) [ "pie" ];
hardeningEnable = lib.optionals (!stdenv.cc.isClang) [ "pie" ];
outputs = [ "out" "lib" "doc" "man" ];
setOutputFlags = false; # $out retains configureFlags :-/