File: portability.patch

package info (click to toggle)
teeworlds 0.7.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 16,024 kB
  • sloc: cpp: 58,009; ansic: 14,468; python: 3,763; asm: 946; objc: 107; makefile: 37; xml: 21; sh: 7
file content (23 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 d879883..30eb7e2 100644
--- a/bam.lua
+++ b/bam.lua
@@ -185,9 +185,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")