Skip to content

Commit 8c5e080

Browse files
authored
If none of the BUILD_ options is set, enable them all
1 parent 5f23bdf commit 8c5e080

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Makefile.system

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ifndef TOPDIR
99
TOPDIR = .
1010
endif
1111

12-
# If ARCH is not set, we use the host system's architecture for getarch compile options.
12+
# If ARCH is not set, we use the host system's architecture for getarch compile options.
1313
ifndef ARCH
1414
HOSTARCH := $(shell uname -m)
1515
else
@@ -73,6 +73,18 @@ endif
7373
#
7474
# Beginning of system configuration
7575
#
76+
ifneq ($(BUILD_SINGLE),1)
77+
ifneq ($(BUILD_DOUBLE),1)
78+
ifneq ($(BUILD_COMPLEX),1)
79+
ifneq ($(BUILD_COMPLEX16),1)
80+
override BUILD_SINGLE=1
81+
override BUILD_DOUBLE=1
82+
override BUILD_COMPLEX=1
83+
override BUILD_COMPLEX16=1
84+
endif
85+
endif
86+
endif
87+
endif
7688

7789
ifndef HOSTCC
7890
HOSTCC = $(CC)

0 commit comments

Comments
 (0)