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
committed by Aleix Boné
parent 2c8d7ed855
commit f2eda78396
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++
'';
}