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/arm fix munged patch: xcom...
details: https://anonhg.NetBSD.org/src/rev/766ffecd4556
branches: trunk
changeset: 329038:766ffecd4556
user: dogcow <dogcow%NetBSD.org@localhost>
date: Wed Apr 30 02:04:11 2014 +0000
description:
fix munged patch: xcompilation on linux/non-arm systems -> netbsd/arm works again.
diffstat:
external/gpl3/gcc/dist/gcc/config/arm/arm.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r abf1c14d4c8e -r 766ffecd4556 external/gpl3/gcc/dist/gcc/config/arm/arm.h
--- a/external/gpl3/gcc/dist/gcc/config/arm/arm.h Wed Apr 30 01:59:30 2014 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/arm/arm.h Wed Apr 30 02:04:11 2014 +0000
@@ -2319,7 +2319,7 @@
/* -mcpu=native handling only makes sense with compiler running on
an ARM chip. */
-#if defined(__linux__)
+#if defined(__arm__) && defined(__linux__)
extern const char *host_detect_local_cpu (int argc, const char **argv);
# define EXTRA_SPEC_FUNCTIONS \
{ "local_cpu_detect", host_detect_local_cpu },
Home |
Main Index |
Thread Index |
Old Index