Add "sparc" host cpu to configure.ac
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Apr 2013 21:26:05 +0000 (17:26 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 18 Apr 2013 13:28:38 +0000 (09:28 -0400)
Some sparc Debian setups advertise a "sparc" host cpu (rather than
sparc64).

In all cases, I think it should be safe to add a "sparc" entry to
userspace RCU configure.ac upstream, e.g.

        [sparc], [ARCHTYPE="sparc64"],

in the event someone would launch the build on an environment not
supporting sparc v9, the build would fail because the 32-bit compiler
would not be able to generate sparc v9 instructions (unless
explicitely instructed to do so by the -m32 -Wa,-Av9a flags).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac

index be664fdab0a3bae2291662925515105edf384391..c6b16d5cc517c2b4923aed40ea2a16f7187119cd 100644 (file)
@@ -72,6 +72,7 @@ AS_CASE([$host_cpu],
        [ppc], [ARCHTYPE="ppc"],
        [s390], [ARCHTYPE="s390"],
        [s390x], [ARCHTYPE="s390"],
+       [sparc], [ARCHTYPE="sparc64"],
        [sparc64], [ARCHTYPE="sparc64"],
        [alpha*], [ARCHTYPE="alpha"],
        [ia64], [ARCHTYPE="gcc"],
This page took 0.026306 seconds and 4 git commands to generate.