void-packages/srcpkgs/teeworlds/patches/portability.patch

24 lines
609 B
Diff

From: Markus Koschany <apo@debian.org>
Date: Sat, 27 Oct 2018 00:04:46 +0200
Subject: portability
Hopefully this prevents FTBFS on non-supported architectures.
---
bam.lua | 3 ---
1 file changed, 3 deletions(-)
diff --git a/bam.lua b/bam.lua
index f511fac..b23d501 100644
--- a/bam.lua
+++ b/bam.lua
@@ -191,9 +191,6 @@ function GenerateLinuxSettings(settings, conf, arch, compiler)
settings.link.flags:Add("-m64")
elseif arch == "armv7l" then
-- arm 32 bit
- else
- print("Unknown Architecture '" .. arch .. "'. Supported: x86, x86_64")
- os.exit(1)
end
settings.link.libs:Add("pthread")