浏览代码

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>
Michael Ellerman 10 年之前
父节点
当前提交
8edcee0e1f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tools/testing/selftests/powerpc/copyloops/Makefile

+ 1 - 0
tools/testing/selftests/powerpc/copyloops/Makefile

@@ -2,6 +2,7 @@
 CFLAGS += -m64
 CFLAGS += -m64
 CFLAGS += -I$(CURDIR)
 CFLAGS += -I$(CURDIR)
 CFLAGS += -D SELFTEST
 CFLAGS += -D SELFTEST
+CFLAGS += -maltivec
 
 
 # Use our CFLAGS for the implicit .S rule
 # Use our CFLAGS for the implicit .S rule
 ASFLAGS = $(CFLAGS)
 ASFLAGS = $(CFLAGS)