nix: remove pkgsCross workaround for libpq
This will make it much easier to actually cross-compile the static executable to different systems.
This commit is contained in:
committed by
Wolfgang Walther
parent
48aabeb473
commit
04a14d5941
@@ -19,6 +19,10 @@ stdenv.mkDerivation {
|
||||
pname = "libpq";
|
||||
inherit (postgresql) src version patches;
|
||||
|
||||
__structuredAttrs = true;
|
||||
env.CFLAGS = "-fdata-sections -ffunction-sections"
|
||||
+ (if stdenv.cc.isClang then " -flto" else " -fmerge-constants -Wl,--gc-sections");
|
||||
|
||||
configureFlags = [
|
||||
"--without-gssapi"
|
||||
"--without-icu"
|
||||
|
||||
Reference in New Issue
Block a user