Commit 1ffa3b64 authored by Gliczy's avatar Gliczy
Browse files

taisei: refactor

parent daf3bcfb
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
diff --git a/meson.build b/meson.build
index 80aa58d..c7e9d0a 100644
--- a/meson.build
+++ b/meson.build
@@ -17,7 +17,7 @@ project('taisei', 'c',
         # You may want to change these for a debug build dir
         'buildtype=release',
         'strip=true',
-        'b_lto=true',
+        'b_lto=false',
         'b_ndebug=if-release',
     ]
 )
+7 −7
Original line number Diff line number Diff line
@@ -49,13 +49,13 @@ stdenv.mkDerivation rec {
    zlib
  ];

  patches = [ ./0001-lto-fix.patch ];
  mesonFlags = [ "-Db_lto=false" ];

  preConfigure = ''
    patchShebangs .
  '';

  meta = with lib; {
  meta = {
    broken = stdenv.hostPlatform.isDarwin;
    description = "Free and open-source Touhou Project clone and fangame";
    mainProgram = "taisei";
@@ -65,11 +65,11 @@ stdenv.mkDerivation rec {
      folklore.
    '';
    homepage = "https://taisei-project.org/";
    license = [
      licenses.mit
      licenses.cc-by-40
    license = with lib.licenses; [
      mit
      cc-by-40
    ];
    maintainers = [ maintainers.lambda-11235 ];
    platforms = platforms.all;
    maintainers = with lib.maintainers; [ lambda-11235 ];
    platforms = lib.platforms.all;
  };
}