From ada95db57b658c3ff8404d347e67496c7bd38d41 Mon Sep 17 00:00:00 2001 From: nigels Date: Fri, 20 Feb 2009 05:59:07 +0000 Subject: [PATCH] Use uname instead of arch since Debian/Ubunutu/etc do not have arch git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@547 783a27ee-832a-0410-bc00-9f386506c6dd --- config/Makefile.linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/Makefile.linux b/config/Makefile.linux index 4bc0649..fd8a2d1 100644 --- a/config/Makefile.linux +++ b/config/Makefile.linux @@ -6,7 +6,7 @@ CFLAGS.EXTRA = -DGLEW_MX endif PICFLAG = -fPIC LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) -M_ARCH ?= $(shell arch) +M_ARCH ?= $(shell uname -m) ifeq (x86_64,${M_ARCH}) LDFLAGS.EXTRA = -L/usr/X11R6/lib64 LIBDIR = $(GLEW_DEST)/lib64