forked from rarias/jungle
18 lines
263 B
Nix
18 lines
263 B
Nix
{
|
|
wrapCCWith,
|
|
aoccUnwrapped,
|
|
}:
|
|
|
|
let
|
|
cc = aoccUnwrapped;
|
|
in
|
|
wrapCCWith {
|
|
inherit cc;
|
|
nixSupport.cc-cflags = [ "-isystem ${cc}/include" ];
|
|
|
|
extraBuildCommands = ''
|
|
wrap aocc $wrapper $ccPath/clang
|
|
wrap aocc++ $wrapper $ccPath/clang++
|
|
'';
|
|
}
|