Browse Source

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

tags/v0.3.11^2
Martin Kroeker GitHub 5 years ago
parent
commit
8c5e08076e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 1 deletions
  1. +13
    -1
      Makefile.system

+ 13
- 1
Makefile.system 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)


Loading…
Cancel
Save