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