Skip to content

Commit

Permalink
Makefile: confine $(LIB) to the one platform that needs it, namely ir…
Browse files Browse the repository at this point in the history
…ix64

It isn't mentioned anywhere else, and deleting it from the Linux code
path means we don't need to maintain an exhaustive list of 64-bit
architectures.
  • Loading branch information
smcv committed Jul 14, 2015
1 parent 1bb2bc3 commit 071965b
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions Makefile
Expand Up @@ -317,32 +317,12 @@ endif
# SETUP AND BUILD -- LINUX
#############################################################################

## Defaults
LIB=lib

INSTALL=install
MKDIR=mkdir
EXTRA_FILES=
CLIENT_EXTRA_FILES=

ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu" "gnu"))

ifeq ($(ARCH),x86_64)
LIB=lib64
else
ifeq ($(ARCH),ppc64)
LIB=lib64
else
ifeq ($(ARCH),s390x)
LIB=lib64
else
ifeq ($(ARCH),aarch64)
LIB=lib64
endif
endif
endif
endif

BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-pipe -DUSE_ICON
CLIENT_CFLAGS += $(SDL_CFLAGS)
Expand Down Expand Up @@ -824,6 +804,7 @@ else # ifeq netbsd
#############################################################################

ifeq ($(PLATFORM),irix64)
LIB=lib

ARCH=mips

Expand Down

0 comments on commit 071965b

Please sign in to comment.