openshadinglanguage: remove unused cmake flags

- ENABLE_RTTI was removed ~6 years ago in upstream 9e64b14a354f5b657d0664b2ebedfb2bfe8b0f7a
- USE_BOOST_WAVE was removed ~6 years ago in upstream f4ec638e6b4d031fb1076036f6777af546805088
- Boost dependency was removed ~2 years ago in upstream 3ff5d5d91d707d33b50733e83626aa65fb40973f
This commit is contained in:
Andrew Marshall
2026-04-27 21:57:26 -04:00
parent e70f67cf0f
commit 52edbc5063
@@ -1,6 +1,5 @@
{
bison,
boost,
cmake,
fetchFromGitHub,
flex,
@@ -19,7 +18,6 @@
}:
let
boost_static = boost.override { enableStatic = true; };
inherit (llvmPackages) clang libclang llvm;
in
stdenv.mkDerivation (finalAttrs: {
@@ -34,10 +32,6 @@ stdenv.mkDerivation (finalAttrs: {
};
cmakeFlags = [
(lib.cmakeBool "ENABLE_RTTI" true)
(lib.cmakeBool "USE_BOOST_WAVE" true)
(lib.cmakeFeature "Boost_ROOT" "${boost}")
# Build system implies llvm-config and llvm-as are in the same directory.
# Override defaults.
(lib.cmakeFeature "LLVM_BC_GENERATOR" "${clang}/bin/clang++")
@@ -62,7 +56,6 @@ stdenv.mkDerivation (finalAttrs: {
];
buildInputs = [
boost_static
hexdump
libclang
llvm