3
0
Fork 0
forked from mirrors/nixpkgs

gildas: ignore clang warnings for unused command line arguments

See #46044
This commit is contained in:
Sebastien Maret 2018-09-05 12:17:05 +02:00
parent 3bc898035d
commit b76cf0b54c

View file

@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
patches = [ ./wrapper.patch ./return-error-code.patch ./clang.patch ./aarch64.patch ./gag-font-bin-rule.patch ];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument";
configurePhase=''
substituteInPlace admin/wrapper.sh --replace '%%OUT%%' $out
substituteInPlace admin/wrapper.sh --replace '%%PYTHONHOME%%' ${python27Env}