nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

clasp-common-lisp: fix build warning

This resolves the annoying message for every compilation line:

```
clang-15: warning: argument unused during compilation: '-stdlib=libstdc++' [-Wunused-command-line-argument]
```

+14
+1
pkgs/development/compilers/clasp/default.nix
··· 42 42 43 43 patches = [ 44 44 ./clasp-pin-repos-commits.patch 45 + ./remove-unused-command-line-argument.patch 45 46 ]; 46 47 47 48 nativeBuildInputs = [
+13
pkgs/development/compilers/clasp/remove-unused-command-line-argument.patch
··· 1 + diff --git a/src/koga/units.lisp b/src/koga/units.lisp 2 + index 808cebd17..2bbf965fd 100644 3 + --- a/src/koga/units.lisp 4 + +++ b/src/koga/units.lisp 5 + @@ -197,7 +197,7 @@ 6 + :type :cxxflags) 7 + #+darwin (append-cflags configuration "-stdlib=libc++" :type :cxxflags) 8 + #+darwin (append-cflags configuration "-I/usr/local/include") 9 + - #+linux (append-cflags configuration "-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-stack-protector -stdlib=libstdc++" 10 + + #+linux (append-cflags configuration "-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-stack-protector" 11 + :type :cxxflags) 12 + #+linux (append-cflags configuration "-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-stack-protector" 13 + :type :cflags)