Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/aarch64 oops, re-enable ho...



details:   https://anonhg.NetBSD.org/src/rev/d93a64ab5a04
branches:  trunk
changeset: 1023623:d93a64ab5a04
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Sep 18 19:59:11 2021 +0000

description:
oops, re-enable host_detect_local_cpu for NetBSD

diffstat:

 external/gpl3/gcc/dist/gcc/config/aarch64/aarch64.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 83e1eadd6dae -r d93a64ab5a04 external/gpl3/gcc/dist/gcc/config/aarch64/aarch64.h
--- a/external/gpl3/gcc/dist/gcc/config/aarch64/aarch64.h       Sat Sep 18 19:21:39 2021 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/aarch64/aarch64.h       Sat Sep 18 19:59:11 2021 +0000
@@ -1200,7 +1200,7 @@
 #define MCPU_TO_MARCH_SPEC_FUNCTIONS \
   { "rewrite_mcpu", aarch64_rewrite_mcpu },
 
-#if defined(__aarch64__) && defined(__linux__)
+#if defined(__aarch64__) && (defined(__linux__) || defined(__NetBSD__))
 extern const char *host_detect_local_cpu (int argc, const char **argv);
 #define HAVE_LOCAL_CPU_DETECT
 # define EXTRA_SPEC_FUNCTIONS                                          \



Home | Main Index | Thread Index | Old Index