Archived
1
0
forked from rarias/bscpkgs

aocc: init at 5.0.0

This commit is contained in:
2025-06-19 22:16:04 +02:00
parent c7b5ec13b8
commit 5e2d01b71a
3 changed files with 70 additions and 0 deletions

16
pkgs/aocc/default.nix Normal file
View File

@@ -0,0 +1,16 @@
{ wrapCCWith
, aoccUnwrapped
}:
let
cc = aoccUnwrapped;
in wrapCCWith {
inherit cc;
extraBuildCommands = ''
echo "-isystem ${cc}/include" >> $out/nix-support/cc-cflags
wrap aocc $wrapper $ccPath/clang
wrap aocc++ $wrapper $ccPath/clang++
'';
}