summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2005-03-13 09:19:30 +0100
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:03:10 +0200
commit248d2120ca00c855b7980435becf1c5c24f60209 (patch)
treef312f29c2bc6f685fc4a22ef7764b6b39ed4cf71 /Makefile
parent892feaec7c43f44b4c1dd21b65944dacad0fa651 (diff)
Fix for build problems on Gentoo amd64 systems.
* ARCH is defined to amd64, so make sure the Makefile handles that value correctly. * When using the local X includes, the lib64 directory was missing. Fixed this with a symlink.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 739898f..e12377f 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,9 @@ MANDIR = $(DESTDIR)/usr/local/man/man1
ifeq ($(ARCH),)
ARCH = $(shell /bin/arch)
endif
+ifeq ($(ARCH),amd64)
+ ARCH = x86_64
+endif
ifeq ($(ARCH),x86_64)
ARCH_DEFINES = -D__x86_64__ -D_XSERVER64
LIBDIR = lib64