aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Trepl <thomas@linuxfromscratch.org>2019-04-07 09:47:30 +0000
committerXℹ Ruoyao <xry111@mengyan1223.wang>2021-03-31 18:41:34 +0800
commitfd48baafd54bd45a4c118a52433a6ec7b89e4876 (patch)
treedae3e000e412a5c0c71172854ad17ccbb2bdd1d5 /Makefile
parent6702623889383cb0400fb0d5f87bb68866d7141c (diff)
Change profiling attribute to enable selection of m32 and/or mx32. Fixes #4452.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11571 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 057e83465..70675e9bb 100644
--- a/Makefile
+++ b/Makefile
@@ -38,8 +38,12 @@ ifndef ARCH
ARCH = default
endif
ifneq ($(ARCH), default)
- ifneq ($(ARCH), multilib)
- $(error ARCH must be either 'default' (default if unset) or 'multilib'.)
+ ifneq ($(ARCH), ml_32)
+ ifneq ($(ARCH), ml_x32)
+ ifneq ($(ARCH), ml_all)
+ $(error ARCH must be either 'default' (default if unset), 'ml_32', 'ml_x32' or 'ml_all'.)
+ endif
+ endif
endif
endif