diff options
author | Alexey Neyman <stilor@att.net> | 2020-02-26 16:49:59 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2020-02-26 19:05:19 (GMT) |
commit | d978290f39196e7c2c72a154f32681386b4e27b8 (patch) | |
tree | 3e128f23f3098cfaf6d15aa8d8950074f96e5f13 /config | |
parent | f290ad24173549c46ff070df86335aebc50b1bde (diff) |
Set --with-cpu-{32,64} for multilib builds
GLIBC 2.31 needs --with-cpu=ultrasparc for both 32/64-bits now, and
--with-cpu only sets the CPU model for the "primary" bitness.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config')
-rw-r--r-- | config/arch/powerpc.in | 1 | ||||
-rw-r--r-- | config/arch/sparc.in | 1 | ||||
-rw-r--r-- | config/arch/x86.in | 1 | ||||
-rw-r--r-- | config/target.in | 5 |
4 files changed, 8 insertions, 0 deletions
diff --git a/config/arch/powerpc.in b/config/arch/powerpc.in index 40d88b9..83f0f77 100644 --- a/config/arch/powerpc.in +++ b/config/arch/powerpc.in @@ -11,6 +11,7 @@ ## select ARCH_SUPPORTS_WITH_CPU ## select ARCH_SUPPORTS_WITH_TUNE ## select ARCH_SUPPORTS_WITH_FLOAT +## select ARCH_SUPPORTS_WITH_32_64 ## ## help The PowerPC architecture, as defined by: ## help http://www.ibm.com/developerworks/eserver/articles/archguide.html diff --git a/config/arch/sparc.in b/config/arch/sparc.in index 1b4abcc..fe46eaa 100644 --- a/config/arch/sparc.in +++ b/config/arch/sparc.in @@ -10,6 +10,7 @@ ## select ARCH_SUPPORTS_WITH_CPU ## select ARCH_SUPPORTS_WITH_TUNE ## select ARCH_SUPPORTS_WITH_FLOAT +## select ARCH_SUPPORTS_WITH_32_64 if GCC_6_or_later ## ## help The SUN SPARC architecture, as defined by: ## help 32 bit: http://www.sparc.org/standards/V8.pdf diff --git a/config/arch/x86.in b/config/arch/x86.in index ab89ccd..ec16655 100644 --- a/config/arch/x86.in +++ b/config/arch/x86.in @@ -8,6 +8,7 @@ ## select ARCH_SUPPORTS_WITH_ARCH ## select ARCH_SUPPORTS_WITH_CPU ## select ARCH_SUPPORTS_WITH_TUNE +## select ARCH_SUPPORTS_WITH_32_64 ## ## help The x86 architecture, as defined by: ## help 32-bit (ia32) : http://www.intel.com/ diff --git a/config/target.in b/config/target.in index 8549c5b..995457a 100644 --- a/config/target.in +++ b/config/target.in @@ -236,6 +236,11 @@ config ARCH_64 endchoice +# Whether this architecture supports passing --with-{cpu,arch,tune}-{32,64}= +# to GCC configure. +config ARCH_SUPPORTS_WITH_32_64 + bool + #-------------------------------------- comment "Target optimisations" |