Skip to content

Commit

Permalink
Makefile: rename variable MACHINE to UNAME_M
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Mar 5, 2014
1 parent ae603d9 commit 2844cc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ INCDIR = $(DESTDIR)$(PREFIX)/include

LIBDIR = $(DESTDIR)$(PREFIX)/lib
# on x86_64, we might have /usr/lib64 directory instead of /usr/lib
MACHINE := $(shell uname -m)
ifeq ($(MACHINE), x86_64)
UNAME_M := $(shell uname -m)
ifeq ($(UNAME_M), x86_64)
ifeq (,$(wildcard $(LIBDIR)))
LIBDIR = $(DESTDIR)$(PREFIX)/lib64
else
Expand Down

0 comments on commit 2844cc5

Please sign in to comment.