summarylogtreecommitdiffstats
path: root/paths.diff
blob: 58a23306e60250e44aa3e886de3d814a53ad1f66 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
diff --git a/gcc/d/d-incpath.cc b/gcc/d/d-incpath.cc
index 995ff792..3e06bc0a 100644
--- a/gcc/d/d-incpath.cc
+++ b/gcc/d/d-incpath.cc
@@ -206,7 +206,7 @@ add_import_paths(const char *iprefix, const char *imultilib, bool stdinc)
 	    import_path = xstrdup(p->fname);
 
 	  // Add D-specific suffix.
-	  import_path = concat(import_path, "/d", NULL);
+	  import_path = concat(import_path, "/dlang/gdc", NULL);
 
 	  // Ignore duplicate entries.
 	  bool found = false;
diff --git a/libphobos/configure b/libphobos/configure
index 7325fcbf..a75286c8 100755
--- a/libphobos/configure
+++ b/libphobos/configure
@@ -14658,7 +14658,7 @@ fi
 
 
   # Default case for install directory for D sources files.
-  gdc_include_dir='${libdir}/gcc/${target_alias}'/${d_gcc_ver}/include/d
+  gdc_include_dir='/usr/include/dlang/gdc/'
 
 
 
diff --git a/libphobos/m4/druntime.m4 b/libphobos/m4/druntime.m4
index fac44aac..6ff6b2c7 100644
--- a/libphobos/m4/druntime.m4
+++ b/libphobos/m4/druntime.m4
@@ -78,7 +78,7 @@ AC_DEFUN([DRUNTIME_INSTALL_DIRECTORIES],
   AC_SUBST(toolexeclibdir)
 
   # Default case for install directory for D sources files.
-  gdc_include_dir='${libdir}/gcc/${target_alias}'/${d_gcc_ver}/include/d
+  gdc_include_dir='/usr/include/dlang/gdc/'
   AC_SUBST(gdc_include_dir)
 ])