Catch conflicting usage of ARCH in at least some BSD environments

fixes #1796
This commit is contained in:
Martin Kroeker 2018-10-08 22:29:35 +02:00 committed by GitHub
parent 697dc1baf8
commit d3d58f8ee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,11 @@ ifndef TOPDIR
TOPDIR = . TOPDIR = .
endif endif
# Catch conflicting usage of ARCH in some BSD environments
ifeq ($(ARCH), amd64)
override ARCH=x86_64
endif
NETLIB_LAPACK_DIR = $(TOPDIR)/lapack-netlib NETLIB_LAPACK_DIR = $(TOPDIR)/lapack-netlib
# Default C compiler # Default C compiler