From bb704f532af37086f7a1f2d4a4a3386941cbdb85 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sat, 14 Nov 2015 09:24:41 -0800 Subject: Allow --with-cpu/--with-tune for !arm. The configure error mentioned in the commits that disable --with-arch/--with-tune when --with-cpu is specified is specific to ARM builds. For other architectures, it makes sense (hey, it even makes sense for ARM - read 'info gcc'! - it is just a shortcoming of ARM build, apparently). Thus, add an arch setting ARCH_EXCLUSIVE_WITH_CPU (currently, set only for ARM) that will trigger current behavior. Permit combinations of --with-arch/cpu/tune for other arches. Signed-off-by: Alexey Neyman --- config/arch/arm.in | 1 + 1 file changed, 1 insertion(+) (limited to 'config/arch/arm.in') diff --git a/config/arch/arm.in b/config/arch/arm.in index 5d40e372..5dbc717d 100644 --- a/config/arch/arm.in +++ b/config/arch/arm.in @@ -9,6 +9,7 @@ ## select ARCH_DEFAULT_LE ## select ARCH_SUPPORTS_WITH_ARCH ## select ARCH_SUPPORTS_WITH_CPU +## select ARCH_EXCLUSIVE_WITH_CPU ## select ARCH_SUPPORTS_WITH_TUNE ## select ARCH_SUPPORTS_WITH_FLOAT if ARCH_32 ## select ARCH_SUPPORTS_WITH_FPU if ARCH_32 -- cgit v1.2.3