From eb76653c34f556af6ec7ebea48f8d8caa2c63794 Mon Sep 17 00:00:00 2001 From: fcolin Date: Mon, 22 Nov 2010 16:50:26 +0000 Subject: Use Portable 64bits machine detection --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 1459506..54ecbcf 100644 --- a/src/Makefile +++ b/src/Makefile @@ -19,7 +19,7 @@ MAJOR=3 MINOR=11 -PERHAPS64 := $(shell uname -m | perl -ne "print /64/ ? '64' : '';") +PERHAPS64 := $(shell getconf LONG_BIT | perl -ne "print /64/ ? '64' : '';") LIB = /lib$(PERHAPS64) ifeq ($(PERHAPS64), "64") FPIC= -- cgit v1.1