summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/build b/build
index 6dd2c1f..7a73a94 100755
--- a/build
+++ b/build
@@ -192,12 +192,14 @@ install-native:
$(destdir)$(gcc_gcc_include_dir)
mv $(destdir)$(def_gcc_fixed_include_dir)/* \
$(destdir)$(gcc_fixed_include_dir)
- mv $(destdir)$(def_gcc_gxx_include_dir)/* \
- $(destdir)$(gcc_gxx_include_dir)
+ # def_gcc_gxx_tool_include_dir and def_gcc_gxx_backward_include_dir are
+ # subdirectories of def_gcc_gxx_include_dir, so move them first.
mv $(destdir)$(def_gcc_gxx_tool_include_dir)/* \
$(destdir)$(gcc_gxx_tool_include_dir)
mv $(destdir)$(def_gcc_gxx_backward_include_dir)/* \
$(destdir)$(gcc_gxx_backward_include_dir)
+ mv $(destdir)$(def_gcc_gxx_include_dir)/* \
+ $(destdir)$(gcc_gxx_include_dir)
# Target-arch libraries:
mkdir -p $(destdir)$(libdir)
mv $(destdir)$(libdir)/$(libsuffix)/* $(destdir)$(libdir)