irods: build with current version of llvm
This commit is contained in:
@@ -30,6 +30,12 @@ in rec {
|
||||
# but we don't use /usr with nix, so remove only 2 items.
|
||||
patches = [ ./irods_root_path.patch ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
# fix build with recent llvm versions
|
||||
"-Wno-deprecated-register"
|
||||
"-Wno-deprecated-declarations"
|
||||
];
|
||||
|
||||
preConfigure = common.preConfigure + ''
|
||||
patchShebangs ./test
|
||||
substituteInPlace plugins/database/CMakeLists.txt --replace "COMMAND cpp" "COMMAND ${gcc.cc}/bin/cpp"
|
||||
|
||||
Reference in New Issue
Block a user