···281 # Has to be in tools despite mostly being a library,
282 # because we use a native helper executable from a
283 # non-cross build in cross builds.
284- libclc = callPackage ./libclc {
285 inherit buildLlvmTools;
286 };
287 });
···281 # Has to be in tools despite mostly being a library,
282 # because we use a native helper executable from a
283 # non-cross build in cross builds.
284+ libclc = callPackage ../common/libclc.nix {
285 inherit buildLlvmTools;
286 };
287 });
···269 nixSupport.cc-cflags = [ "-fno-exceptions" ];
270 });
271272+ # Has to be in tools despite mostly being a library,
273+ # because we use a native helper executable from a
274+ # non-cross build in cross builds.
275+ libclc = callPackage ../common/libclc.nix {
276+ inherit buildLlvmTools;
277+ };
278 });
279280 libraries = lib.makeExtensible (libraries: let