forked from mirrors/nixpkgs
trousers: Add gcc5 compat
This commit is contained in:
parent
8f60f45eb6
commit
84aad77f54
|
@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
configureFlags = [ "--disable-usercheck" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-DALLOW_NON_TSS_CONFIG_FILE";
|
||||
# Attempt to remove -std=gnu89 when updating if using gcc5
|
||||
NIX_CFLAGS_COMPILE = "-std=gnu89 -DALLOW_NON_TSS_CONFIG_FILE";
|
||||
NIX_LDFLAGS = "-lgcc_s";
|
||||
|
||||
# Fix broken libtool file
|
||||
|
|
Loading…
Reference in a new issue