diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2015-03-17 15:16:12 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-03-17 15:16:12 +1100 |
commit | 8edcee0e1f7dd703a2f3049ea1bc8c19bd945eb6 (patch) | |
tree | f187e7049153de2fd1a736c5a89d423eeaa8b7d8 /tools | |
parent | 45706bb53d118b5340a12926e26444d73b6491f9 (diff) | |
download | linux-stable-8edcee0e1f7dd703a2f3049ea1bc8c19bd945eb6.tar.gz linux-stable-8edcee0e1f7dd703a2f3049ea1bc8c19bd945eb6.tar.bz2 linux-stable-8edcee0e1f7dd703a2f3049ea1bc8c19bd945eb6.zip |
selftests/powerpc: Build the copyloops with -maltivec
The recent change to remove the vrX defines exposed the fact that we are
building the copyloops tests without altivec enabled. It depends on the
toolchain as to whether altivec is on by default or not, so it only
breaks on some toolchains. But we should always enable it.
Fixes: c2ce6f9f3dc0 ("powerpc: Change vrX register defines to vX to match gcc and glibc")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/powerpc/copyloops/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/copyloops/Makefile b/tools/testing/selftests/powerpc/copyloops/Makefile index 6f2d3be227f9..9de81296ebc4 100644 --- a/tools/testing/selftests/powerpc/copyloops/Makefile +++ b/tools/testing/selftests/powerpc/copyloops/Makefile @@ -2,6 +2,7 @@ CFLAGS += -m64 CFLAGS += -I$(CURDIR) CFLAGS += -D SELFTEST +CFLAGS += -maltivec # Use our CFLAGS for the implicit .S rule ASFLAGS = $(CFLAGS) |