cemu: add link-time-compile-gen, build with gcc9stdenv

This commit is contained in:
Matt Christ 2021-11-06 10:04:13 -05:00 committed by Jonathan Ringer
parent c0814cef0b
commit 2771743966
2 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,5 @@
{ fetchFromGitHub
, lib
, mkDerivation
, SDL2
, libGL
, libarchive
@ -10,9 +9,11 @@
, git
, libpng_apng
, pkg-config
, wrapQtAppsHook
, stdenv
}:
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "CEmu";
version = "1.3";
src = fetchFromGitHub {
@ -26,6 +27,7 @@ mkDerivation rec {
nativeBuildInputs = [
qmake
git
wrapQtAppsHook
pkg-config
];
@ -40,6 +42,7 @@ mkDerivation rec {
qmakeFlags = [
"gui/qt"
"CONFIG+=ltcg"
];
meta = with lib; {

View File

@ -3872,7 +3872,9 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Carbon IOKit;
};
cemu = qt5.callPackage ../applications/science/math/cemu { };
cemu = qt5.callPackage ../applications/science/math/cemu {
stdenv = gcc9Stdenv;
};
isolyzer = callPackage ../tools/cd-dvd/isolyzer { };