]> Pileus Git - ~andy/sunrise/blobdiff - games-strategy/0ad/files/11339_alpha9-test.patch
old crap, live ebuild broken
[~andy/sunrise] / games-strategy / 0ad / files / 11339_alpha9-test.patch
diff --git a/games-strategy/0ad/files/11339_alpha9-test.patch b/games-strategy/0ad/files/11339_alpha9-test.patch
deleted file mode 100644 (file)
index 82f737a..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-upstream patch: http://trac.wildfiregames.com/changeset/11661
-
-Build test executable with same linker settings as game executable,
-to fix --without-fam
-
---- build/premake/premake4.lua
-+++ build/premake/premake4.lua
-@@ -1167,13 +1167,20 @@
-               project_add_manifest()
--      elseif os.is("linux") or os.is ("bsd") then
--
--              links {
--                      "fam",
--                      -- Utilities
--                      "rt",
--              }
-+      elseif os.is("linux") or os.is("bsd") then
-+
-+              if not _OPTIONS["without-fam"] then
-+                      links { "fam" }
-+              end
-+
-+              if not _OPTIONS["android"] then
-+                      links { "rt" }
-+              end
-+
-+              if _OPTIONS["android"] then
-+                      -- NDK's STANDALONE-TOOLCHAIN.html says this is required
-+                      linkoptions { "-Wl,--fix-cortex-a8" }
-+              end
-               if os.is("linux") then
-                       links {
-@@ -1189,7 +1196,9 @@
-               -- Threading support
-               buildoptions { "-pthread" }
--              linkoptions { "-pthread" }
-+              if not _OPTIONS["android"] then
-+                      linkoptions { "-pthread" }
-+              end
-               -- For debug_resolve_symbol
-               configuration "Debug"