If none of the BUILD_ options is set, enable them all

This commit is contained in:
Martin Kroeker 2020-10-11 17:33:51 +02:00 committed by GitHub
parent 5f23bdf437
commit 8c5e08076e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 1 deletions

View File

@ -9,7 +9,7 @@ ifndef TOPDIR
TOPDIR = . TOPDIR = .
endif endif
# If ARCH is not set, we use the host system's architecture for getarch compile options. # If ARCH is not set, we use the host system's architecture for getarch compile options.
ifndef ARCH ifndef ARCH
HOSTARCH := $(shell uname -m) HOSTARCH := $(shell uname -m)
else else
@ -73,6 +73,18 @@ endif
# #
# Beginning of system configuration # Beginning of system configuration
# #
ifneq ($(BUILD_SINGLE),1)
ifneq ($(BUILD_DOUBLE),1)
ifneq ($(BUILD_COMPLEX),1)
ifneq ($(BUILD_COMPLEX16),1)
override BUILD_SINGLE=1
override BUILD_DOUBLE=1
override BUILD_COMPLEX=1
override BUILD_COMPLEX16=1
endif
endif
endif
endif
ifndef HOSTCC ifndef HOSTCC
HOSTCC = $(CC) HOSTCC = $(CC)