git.iko.soy/typeable/nixpkgs
on master help sign in
gildas: ignore clang warnings for unused command line arguments

See #46044

commitb76cf0b54c6d6108466a7ca67e4a952e6017bca7 authorSebastien Maret <sebastien.maret@univ-grenoble-alpes.fr> dateWed 5 Sep 2018, 12:17 (8 years ago) parent3bc8980
1 file changed+2
pkgs/applications/science/astronomy/gildas/default.nix+2
pkgs/applications/science/astronomy/gildas/default.nix+2
@@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
2424
2525 patches = [ ./wrapper.patch ./return-error-code.patch ./clang.patch ./aarch64.patch ./gag-font-bin-rule.patch ];
2626
27+ NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument";
28+
2729 configurePhase=''
2830 substituteInPlace admin/wrapper.sh --replace '%%OUT%%' $out
2931 substituteInPlace admin/wrapper.sh --replace '%%PYTHONHOME%%' ${python27Env}