about summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc/gfortran-darwin.patch
blob: 73c5d35153b00b7d5c45e288cb9c5651db649a07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/gcc/config/darwin-c.c	2015-01-09 22:18:42.000000000 +0200
+++ b/gcc/config/darwin-c.c	2015-06-27 04:17:58.000000000 +0300
@@ -490,8 +490,7 @@
 
 static const char *framework_defaults [] =
   {
-    "/System/Library/Frameworks",
-    "/Library/Frameworks",
+// stdenvDarwinPure
   };
 
 /* Register the GNU objective-C runtime include path if STDINC.  */
 
 /* Register the GNU objective-C runtime include path if STDINC.  */
--- a/gcc/cppdefault.c	2015-01-05 14:33:28.000000000 +0200
+++ b/gcc/cppdefault.c	2015-06-27 04:16:15.000000000 +0300
@@ -35,6 +35,9 @@
 # undef CROSS_INCLUDE_DIR
 #endif
 
+// stdenvDarwinPure
+# undef LOCAL_INCLUDE_DIR
+
 const struct default_include cpp_include_defaults[]
 #ifdef INCLUDE_DEFAULTS
 = INCLUDE_DEFAULTS;