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>
Wed, 17 Apr 2013 21:26:05 +0000 (17:26 -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 b6f787b5fdf47c3b640029654d572b00ee2d7458..da560a4ad885b668ec6785c36cee18c759b9055a 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.025989 seconds and 4 git commands to generate.