1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-19 03:57:14 +01:00

Add a fallback in architecture identification.

This commit is contained in:
Sandu Liviu Catalin 2018-02-06 01:55:48 +02:00
parent a344105bb2
commit b97f699e4a

View File

@ -51,6 +51,12 @@ else
else else
SQ_ARCH = 32 SQ_ARCH = 32
endif endif
UNAME_M := $(shell uname -m)
ifeq ($(UNAME_M),x86_64)
SQ_ARCH = 64
else
SQ_ARCH = 32
endif
endif endif
ifdef ARCH ifdef ARCH