Module Name:    src
Committed By:   dogcow
Date:           Wed Apr 30 02:04:11 UTC 2014

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config/arm: arm.h

Log Message:
fix munged patch: xcompilation on linux/non-arm systems -> netbsd/arm works 
again.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/dist/gcc/config/arm/arm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config/arm/arm.h
diff -u src/external/gpl3/gcc/dist/gcc/config/arm/arm.h:1.6 src/external/gpl3/gcc/dist/gcc/config/arm/arm.h:1.7
--- src/external/gpl3/gcc/dist/gcc/config/arm/arm.h:1.6	Mon Mar  3 03:28:55 2014
+++ src/external/gpl3/gcc/dist/gcc/config/arm/arm.h	Wed Apr 30 02:04:11 2014
@@ -2319,7 +2319,7 @@ extern int making_const_table;
 
 /* -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 },

Reply via email to