rtcd: allow disabling neon on armv8
authorJohann <johann@duck.com>
Wed, 26 Oct 2022 23:49:37 +0000 (08:49 +0900)
committerJohann <johann@duck.com>
Thu, 27 Oct 2022 00:19:45 +0000 (09:19 +0900)
Change-Id: Idef943775456eb95b46be5c92c114c1d215f38d7

build/make/rtcd.pl

index 9c97268..f4edeaa 100755 (executable)
@@ -488,7 +488,8 @@ if ($opts{arch} eq 'x86') {
   arm;
 } elsif ($opts{arch} eq 'armv8' || $opts{arch} eq 'arm64' ) {
   @ALL_ARCHS = filter(qw/neon/);
-  &require("neon");
+  @REQUIRES = filter(qw/neon/);
+  &require(@REQUIRES);
   arm;
 } elsif ($opts{arch} =~ /^ppc/ ) {
   @ALL_ARCHS = filter(qw/vsx/);