edk2/OVMF: Determine build type from CC setting

This commit is contained in:
Markus Partheymüller
2020-04-20 13:30:35 +02:00
parent fe8afcb993
commit 94d114dc2a
2 changed files with 9 additions and 8 deletions
@@ -17,13 +17,9 @@ let
throw "Unsupported architecture";
version = lib.getVersion edk2;
buildType = if stdenv.isDarwin then
"CLANGPDB"
else
"GCC5";
in
edk2.mkDerivation projectDscPath buildType {
edk2.mkDerivation projectDscPath {
name = "OVMF-${version}";
outputs = [ "out" "fd" ];