Debian Codegraph @

debian/patches/Makefile-confine-LIB-to-the-one-platform-that-needs-it-na.patch

raw
1 From: Simon McVittie <[email protected]>
2 Date: Sat, 24 Jun 2017 19:06:20 +0100
3 Subject: Makefile: confine $(LIB) to the one platform that needs it,
4 namely irix64
5
6 It isn't mentioned anywhere else, and deleting it from the Linux code
7 path means we don't need to maintain an exhaustive list of 64-bit
8 architectures.
9
10 (cherry picked from ioquake3 commit 071965b3f0647385f3c32a49c1df5e125550969c)
11
12 Forwarded: https://github.com/OpenArena/gamecode/pull/17
13 Applied-upstream: https://github.com/OpenArena/gamecode/commit/732d32079b6675f8595471af7d252e190c80f006
14 ---
15 Makefile | 16 +---------------
16 1 file changed, 1 insertion(+), 15 deletions(-)
17
18 diff --git a/Makefile b/Makefile
19 index 023d390..84b58b3 100644
20 --- a/Makefile
21 +++ b/Makefile
22 @@ -208,9 +208,6 @@ endif
23 # SETUP AND BUILD -- LINUX
24 #############################################################################
25
26 -## Defaults
27 -LIB=lib
28 -
29 INSTALL=install
30 MKDIR=mkdir
31
32 @@ -218,18 +215,6 @@ ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu" "gnu")
33
34 ifeq ($(ARCH),alpha)
35 ARCH=axp
36 - else
37 - ifeq ($(ARCH),x86_64)
38 - LIB=lib64
39 - else
40 - ifeq ($(ARCH),ppc64)
41 - LIB=lib64
42 - else
43 - ifeq ($(ARCH),s390x)
44 - LIB=lib64
45 - endif
46 - endif
47 - endif
48 endif
49
50 BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
51 @@ -669,6 +654,7 @@ else # ifeq netbsd
52 #############################################################################
53
54 ifeq ($(PLATFORM),irix64)
55 + LIB=lib
56
57 ARCH=mips #default to MIPS
58