13 lines
489 B
Text
13 lines
489 B
Text
|
Index: gcc/config/arm/arm.h
|
||
|
--- gcc/config/arm/arm.h.orig
|
||
|
+++ gcc/config/arm/arm.h
|
||
|
@@ -2195,7 +2195,7 @@ extern const char *arm_target_thumb_only (int argc, co
|
||
|
|
||
|
/* -mcpu=native handling only makes sense with compiler running on
|
||
|
an ARM chip. */
|
||
|
-#if defined(__arm__)
|
||
|
+#if defined(__arm__) && (defined(__linux__) || defined(__FreeBSD__))
|
||
|
extern const char *host_detect_local_cpu (int argc, const char **argv);
|
||
|
#define HAVE_LOCAL_CPU_DETECT
|
||
|
# define MCPU_MTUNE_NATIVE_FUNCTIONS \
|