~angelsl/ubuntu/wily/gcc-5/mips-cross

« back to all changes in this revision

Viewing changes to debian/patches/cross-no-locale-include.diff

  • Committer: angelsl
  • Date: 2015-10-30 03:30:35 UTC
  • Revision ID: angelsl-20151030033035-rmug41zm8hyjgisg
Original import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DP: Don't add /usr/local/include for cross compilers. Assume that
 
2
# DP: /usr/include is ready for multiarch, but not /usr/local/include.
 
3
 
 
4
--- a/src/gcc/cppdefault.c
 
5
+++ b/src/gcc/cppdefault.c
 
6
@@ -66,8 +66,11 @@
 
7
 #ifdef LOCAL_INCLUDE_DIR
 
8
     /* /usr/local/include comes before the fixincluded header files.  */
 
9
     { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 2 },
 
10
+#if 0
 
11
+    /* Unsafe to assume that /usr/local/include is ready for multiarch.  */
 
12
     { LOCAL_INCLUDE_DIR, 0, 0, 1, 1, 0 },
 
13
 #endif
 
14
+#endif
 
15
 #ifdef PREFIX_INCLUDE_DIR
 
16
     { PREFIX_INCLUDE_DIR, 0, 0, 1, 0, 0 },
 
17
 #endif